dgaudet 98/03/13 00:13:54
Modified: src/main util_uri.c Log: oops left some turds in the regex code T_AT isn't needed... and it's existence made the scheme stuff a bit wrong Revision Changes Path 1.10 +0 -10 apache-1.3/src/main/util_uri.c Index: util_uri.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/util_uri.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- util_uri.c 1998/03/13 07:11:02 1.9 +++ util_uri.c 1998/03/13 08:13:54 1.10 @@ -215,14 +215,6 @@ int ret; const char *re_str; - memset(uri_delims, 0, sizeof(uri_delims)); - uri_delims[':'] = T_COLON; - uri_delims['/'] = T_SLASH; - uri_delims['?'] = T_QUESTION; - uri_delims['#'] = T_HASH; - uri_delims['@'] = T_AT; - uri_delims['\0'] = T_NUL; - /* This is a modified version of the regex that appeared in * draft-fielding-uri-syntax-01. It doesnt allow the uri to contain a * scheme but no hostinfo or vice versa. @@ -398,7 +390,6 @@ #define T_SLASH 0x02 /* '/' */ #define T_QUESTION 0x04 /* '?' */ #define T_HASH 0x08 /* '#' */ -#define T_AT 0x10 /* '@' */ #define T_NUL 0x80 /* '\0' */ static unsigned char uri_delims[256]; @@ -423,7 +414,6 @@ uri_delims['/'] = T_SLASH; uri_delims['?'] = T_QUESTION; uri_delims['#'] = T_HASH; - uri_delims['@'] = T_AT; uri_delims['\0'] = T_NUL; }