Package: mnogosearch Version: 3.2.31-1 [Also reported to upstream at http://www.mnogosearch.org/bugs/index.php?id=1118]
The indexer escapes semicolons in URLs, i.e., it replaces ";" with "%3B". For example, http://www.hjp.at/tests/mnogotest.cgi contains the link <a href='mnogotest.cgi?p1=foo;p2=bar'>follow me!</a> When following this link, a normal browser will request http://www.hjp.at/tests/mnogotest.cgi?p1=foo;p2=bar but mnogosearch will request http://www.hjp.at/tests/mnogotest.cgi?p1=foo%3Bp2=bar which is not the same (the first contains two query parameters p1 (with value "foo") and p2 (with value "bar"), while the second contains only ona parameter p1 (with value "foo;p2=bar")). The fix is to change the type of ';' from 2 (unsafe) to 0 (safe or reserved) in the table in url.c: --- url.c.orig 2006-04-05 14:15:26.000000000 +0200 +++ url.c 2006-04-05 13:27:02.000000000 +0200 @@ -104,7 +104,7 @@ /*00*/ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /*10*/ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /*20*/ 2,0,2,2,0,2,4,0,0,0,0,0,0,0,0,0, /* !"#$%&'()*+,-./ */ -/*30*/ 0,0,0,0,0,0,0,0,0,0,0,2,2,0,2,2, /* 0123456789:;<=>? */ +/*30*/ 0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,2, /* 0123456789:;<=>? */ /*40*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* @ABCDEFGHIJKLMNO */ /*50*/ 0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,0, /* PQRSTUVWXYZ[\]^_ */ /*60*/ 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* `abcdefghijklmno */ hp -- _ | Peter J. Holzer | If I wanted to be "academically correct", |_|_) | Sysadmin WSR | I'd be programming in Java. | | | [EMAIL PROTECTED] | I don't, and I'm not. __/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users
pgpHrjZOarW35.pgp
Description: PGP signature