Page MenuHomePhabricator

backslash "\" in page title doesn't work with "short URL" method
Open, LowPublic

Description

It's possible to create a wiki page with a "\" character in the title, so that
the page cannot be accessed by the "short URL" method from
http://www.mediawiki.org/wiki/Manual:Short_URL#Alias_directive, where Apache
rewrites URLs as http://server/wiki/title_here.

  1. In the search box, enter foo\bar and click Go.
  2. You are offered to create the page foo\bar. Click the edit link and go to

http://server/wiki/index.php?title=Foo%5Cbar&action=edit

  1. Edit and click Save.
  2. You are taken to the page http://server/wiki/Foo%5Cbar, which produces a 404

error. However, the page has been saved in the "page" table in the database.

  1. The page is accessible as http://server/w/index.php?title=Foo%5Cbar.

Version: 1.9.x
Severity: normal
OS: Windows Server 2003
Platform: PC

Details

Reference
bz9551

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:36 PM
bzimport set Reference to bz9551.
bzimport added a subscriber: Unknown Object (MLST).

May be an Apache 2.x-specific issue, as with the double-forward-slash problem.

No such problem on Wikipedia, where we're using 1.3.x.