[pmwiki-users] Links to nothing changes cause side effect

Chris Cox ccox at airmail.net
Fri Feb 24 15:15:02 CST 2006


Patrick R. Michaud wrote:
> On Fri, Feb 24, 2006 at 12:25:48PM -0600, Chris Cox wrote:
>>Patrick R. Michaud wrote:
>>>On Fri, Feb 24, 2006 at 10:32:19AM -0600, Chris Cox wrote:
>>>>Patrick R. Michaud wrote:
>>>>>On Tue, Feb 21, 2006 at 06:15:45PM -0600, Chris Cox wrote:
>>>>>>I'm still having the problem with links containing URL
>>>>>>parms with spaces (%20) not working though.. any ideas on
>>>>>>that (or did I miss the message)?
>>>>>>
>>>>>>(I've been real busy lately.. sorry if I overlooked)
>>>>>No problem -- can you give an example link that isn't
>>>>>working...?
>>>>*[[PmCal/PmCal?monthtitlefmt=%b%20%y | Short Month/Year Names]]
>>>Shouldn't that be...?
>>>
>>>* [[PmCal/PmCal?monthtitlefmt=%25b%20%25y | Short Month/Year Names]]
>>>
>>>%b == chr(11)
>>Didn't know that %'s were "illegal"... I can change those.
>>Might make somethings more difficult.
>>
>>I know this used to work with older pmwiki versions...
>>is this % thing something new??
> 
> While I can agree that it could've worked with older PmWiki
> versions, I really don't know how it could've done so and
> still been "correct".  It's just part of the standard url
> specification that in order to pass a percent sign in a value
> to a script, it has to be encoded in the url as '%25'.
> 
> So, if it's "something new", it's not intended to be.  It's
> always been my intent that query strings in PmWiki urls
> follow the url specifications as closely as possible.

:)

Consider it an accidental bug fix.  For it did work in
2.0 (hey... it's a fix... it counts!)






More information about the pmwiki-users mailing list