Last modified: 2012-04-12 13:55:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32814, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30814 - After switch to NGINX, question marks stripped from title in URL
After switch to NGINX, question marks stripped from title in URL
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.16.x
Other All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-08 12:51 UTC by Angelina Belle
Modified: 2012-04-12 13:55 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Angelina Belle 2011-09-08 12:51:58 UTC
Following a switch to nginx, the wiki began having a problem with page titles.
Page titles containing "?" do not seem to "work" under nginx.

Example:
http://wiki.simplemachines.org/smf/User:AngelinaBelle/TestWithQuestionMark%3F

Does not work. Though the URL in the browser is correct, the wiki reports that I have landed atwgPageName="User:AngelinaBelle/TestWithQuestionMark",
wgTitle="AngelinaBelle/TestWithQuestionMark", where I get the usual message that the page does not exist, and an offer to edit the page at http://wiki.simplemachines.org/smf/index.php?title=User:AngelinaBelle/TestWithQuestionMark&action=edit

--

When I use the "longer" form of the page title, there are no problems:
http://wiki.simplemachines.org/smf/index.php?title=User:AngelinaBelle/TestWithQuestionMark%3F


MediaWiki 1.16.5
PHP 5.3.4 (apache2handler)
MySQL 5.1.33-community-log
Comment 1 Roan Kattouw 2011-09-08 12:53:11 UTC
This is most likely an issue with your rewrite rules.
Comment 2 Angelina Belle 2011-09-08 13:06:24 UTC
Webserver rewrite rules?
Comment 3 Roan Kattouw 2011-09-08 13:07:24 UTC
(In reply to comment #2)
> Webserver rewrite rules?
Yes, rewrite rules in your nginx config.
Comment 4 Daniel Friesen 2011-09-08 13:18:20 UTC
The NGINX wiki's own MW install works fine with question marks:
http://wiki.nginx.org/MediaWiki%3F

The issue here is with your configuration of nginx

I can help you configure nginx correctly but bugzilla isn't the place for that.
This isn't a bug.
Comment 5 Angelina Belle 2011-09-08 14:23:04 UTC
Thanks, Roan and Daniel. I will check with the site team.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links