]> mj.ucw.cz Git - libucw.git/commit
Hopefully finally sorted out the "http://www.xyz.cz?param" mess. The true
authorMartin Mares <mj@ucw.cz>
Sat, 28 Feb 2004 10:49:48 +0000 (10:49 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 28 Feb 2004 10:49:48 +0000 (10:49 +0000)
commitd63e6f9f94894e6dca41a6a6a510fcc14eae58ac
tree5966d30a488a62a16d690ef359980201c6d782c6
parentd5c71811d4ccf80c1f9653604b0ba41e6f6494e8
Hopefully finally sorted out the "http://www.xyz.cz?param" mess. The true
semantics turned out to be "http://www.xyz.cz/?param" and most web servers
really require "GET /?param".

I've changed the normalization rules to add the leading slash if needed
which also solves the relative URL problem I mentioned in the comments.

However, this means that the SEMANTICS OF NORMALIZED URL'S HAS CHANGED
and gatherer databases with URL's in the "http://www.xyz.cz?param" form
are now INVALID. I'm going to delete all such URL's from our gatherer now.
lib/url.c
lib/url.h