FS#12424 - Wiki : URL having apostrophe cannot be accessed
Attached to Project:
Arch Linux
Opened by brazzmonkey (brazzmonkey) - Friday, 12 December 2008, 08:09 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:51 GMT
Opened by brazzmonkey (brazzmonkey) - Friday, 12 December 2008, 08:09 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:51 GMT
|
Details
Description:
any wiki page having an apostrophe in its name cannot be accessed. Steps to reproduce: check out http://wiki.archlinux.org/index.php/NAT'ing_firewall_-_Adding_advanced_features for instance this used to work properly a few days ago. |
This task depends upon
http://wiki.archlinux.org/index.php/Beginners%27_Guide_Appendix
I'm still able to access pages' diffs from my user contribution panel : there i noticed URL use an "%27" instead of the regular apostrophe. This lead me to a workaround :
http://wiki.archlinux.org/index.php/NAT'ing_firewall_-_Adding_advanced_features may be accessed using http://wiki.archlinux.org/index.php?title=NAT%27ing_firewall_-_Adding_advanced_features
i'm not skilled when it comes to servers and web apps, but i think this could be an encoding issue and/or a URL rewriting issue.
http://wiki.archlinux.org/index.php?title=NAT'ing_firewall_-_Share_your_broadband_connection
Above mentioned setting causes suhosin to replace <>"'` characters with ? in PHP_SELF, PATH_TRANSLATED and PATH INFO. It seems like mediawiki uses one of these to determine the requested page. Obviously this cannot work if the URL contains an apostrophe or any other of the replaced characters.
I hope this information will be helpfull.
Do we know if a newer MediaWiki version is able to work with this setting re-enabled?