[TriLUG] Need some help parsing a file

Aaron Joyner aaron at joyner.ws
Thu Jan 2 08:46:13 EST 2014


MediaWiki does it because page names are intended to be addressed as URLs,
not as files in a filesystem; spaces are strictly forbidden* in URLs.

Aaron S. Joyner

* Well, at least historically, as per RFC
1738<http://www.ietf.org/rfc/rfc1738.txt>.
 Subsequent RFCs have toned down <http://www.ietf.org/rfc/rfc2396.txt>,
then ultimately removed <http://tools.ietf.org/html/rfc3986> the harsh
wording about the space being 'unsafe', and become more clear and explicit
about the standard %20 substitution... but in practice you still can't have
a space in a URL.


More information about the TriLUG mailing list