On 2008-10-06 17:10, Kim Goldenberg wrote:
fantasai wrote:The call to strtolower in helper.php for the data plugin:http://dev.splitbrain.org/darcsweb/darcsweb.cgi?r=dwplugins/data;a=headblob;f=/helper.php#l66seems to be a problem. I don't know why you would call that on a URL. A lot of them are case-sensitive and not lower-case.According to RFC 2396, URIs (of which URLs are a part of) are case insensitive. Therefore, URLs are not "mangled: and no change is needed.
I can't find that in that rfc. On the contrary, in Section 6 "URI Normalization and Equivalence", there is explicitly stated that the "scheme and hostname are case insensitive" if the scheme has a common syntax that implies this. Nothing is said about the path and query part for the http scheme. For the http scheme the hostname is indeed case insensitive. But, as long as I know, the path and query parts of the http scheme are surely case sentive. -- Paul Bijnens, xplanation Technology Services Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: Paul.Bijnens@xxxxxxxxxxxxxx *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, * * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * *********************************************************************** -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist