17 February 2007

From Organic Design wiki
Revision as of 03:42, 17 February 2007 by Nad (talk | contribs)
Ampersand articles are working again ;-)

The long-standing problem of not being able to have ampersands in article names has been fixed at last! It was actually not the XmlWiki code at all, but our mod-rewrite rule for allowing Friendly URL's. The rule makes all requests for URL's in friendly format to get changed to the long format of .../wiki/index.php?title=pagename, but that means that any ampersands would be treated as query string separators and would never reach the PHP runtime environment.

A simple change of the rule to the semi-friendly format of .../wiki/index.php/pagename. This format is supported directly by PHP and makes the entire request is available to the PHP code including the ampersands.