One of our users began using the NewWindow macro last week and discovered he
couldn't use anchors in wiki page names. For example, this fails:
[[NewWindow(FrontPage#anchor)]]
Instead of generating a URL like
http://www/wiki/FrontPage#anchor
it generates
http://www/wiki/FrontPage%23anchor
The culprit seems to be quoteWikiNameURL which calls urllib.quote like this:
urllib.quote(pagename)
instead of
urllib.quote(pagename, "/#")
We're still using 1.3.5, but the code is the same in 1.5.8.
Is there some specific reason that "#" is not considered "safe"?
Thx,
--
Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user