[dokuwiki] Re: data plugin mangles URLs

Paul Bijnens wrote:
On 2008-10-06 17:10, Kim Goldenberg wrote:
fantasai wrote:
The call to strtolower in helper.php for the data plugin:
seems 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.

I'm sorry. I missed that, and you, of course, are right.

DokuWiki mailing list - more info at

Other related posts: