]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Now allow * in torrents
authorerdgeist <>
Mon, 22 Jan 2007 02:41:09 +0000 (02:41 +0000)
committererdgeist <>
Mon, 22 Jan 2007 02:41:09 +0000 (02:41 +0000)
scan_urlencoded_query.c

index 223a4ad8e680576d57d4948ad52ddd196b5a5d91..b255811f354703547975410dfd65c4445594c9cd 100644 (file)
@@ -11,7 +11,7 @@
          mark          = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"
    we add '%' to the matrix to not stop at encoded chars.
 */
-static const unsigned char reserved_matrix[] = { 0xA2, 0x63, 0xFF, 0x03, 0xFE, 0xFF, 0xFF, 0x87, 0xFE, 0xFF, 0xFF, 0x47};
+static const unsigned char reserved_matrix[] = { 0xA2, 0x67, 0xFF, 0x03, 0xFE, 0xFF, 0xFF, 0x87, 0xFE, 0xFF, 0xFF, 0x47};
 static int is_unreserved( unsigned char c ) {
   if( ( c <= 32 ) || ( c >= 127 ) ) return 0; return 1&(reserved_matrix[(c-32)>>3]>>(c&7));
 }