diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | url.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,9 @@ 2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> + * url.c (URI_PATTERN): remove \ + +2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> + * [w3m-dev 02878] fix regexp [-...], [...-], []...] * regexp.c (newRegex0): if first char is `-' or ']' after '[', it isn't meta char. @@ -2170,4 +2174,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.246 2002/01/21 16:38:43 ukai Exp $ +$Id: ChangeLog,v 1.247 2002/01/21 16:58:32 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.36 2002/01/21 15:56:13 ukai Exp $ */ +/* $Id: url.c,v 1.37 2002/01/21 16:58:32 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include <sys/socket.h> @@ -2081,7 +2081,7 @@ searchURIMethods(ParsedURL *pu) * escaped = "%" hex hex */ -#define URI_PATTERN "[\\-;/?:@&=+$,a-zA-Z0-9_.!~*'()%]*" +#define URI_PATTERN "[-;/?:@&=+$,a-zA-Z0-9_.!~*'()%]*" void chkExternalURIBuffer(Buffer *buf) { |