diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-04 19:14:35 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-04 19:14:35 +0000 |
commit | 327c35bbfa90c4635e980c3f752196f70c9ed959 (patch) | |
tree | 044cb278358c584fd4c67cea2533a1af42543894 | |
parent | [w3m-dev 02772] (diff) | |
download | w3m-327c35bbfa90c4635e980c3f752196f70c9ed959.tar.gz w3m-327c35bbfa90c4635e980c3f752196f70c9ed959.zip |
[w3m-dev 02779] ';' is valid in URL
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | main.c | 10 |
2 files changed, 11 insertions, 6 deletions
@@ -1,3 +1,8 @@ +2002-01-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02779] `;' is valid in URL + * main.c (chkURLBuffer): add ; + 2001-12-28 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 02772] @@ -1755,4 +1760,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.196 2001/12/27 19:23:38 ukai Exp $ +$Id: ChangeLog,v 1.197 2002/01/04 19:14:35 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.54 2001/12/27 18:22:59 ukai Exp $ */ +/* $Id: main.c,v 1.55 2002/01/04 19:14:36 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -4147,9 +4147,9 @@ void chkURLBuffer(Buffer *buf) { static char *url_like_pat[] = { - "http://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$]*[a-zA-Z0-9_/=]", + "http://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$;]*[a-zA-Z0-9_/=]", #ifdef USE_SSL - "https://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$]*[a-zA-Z0-9_/=]", + "https://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$;]*[a-zA-Z0-9_/=]", #endif /* USE_SSL */ #ifdef USE_GOPHER "gopher://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./_]*", @@ -4161,9 +4161,9 @@ chkURLBuffer(Buffer *buf) #endif /* USE_NNTP */ "mailto:[^<> ][^<> ]*@[a-zA-Z0-9][a-zA-Z0-9\\-\\._]*[a-zA-Z0-9]", #ifdef INET6 - "http://[a-zA-Z0-9:%\\-\\./_@]*\\[[a-fA-F0-9:][a-fA-F0-9:\\.]*\\][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$]*", + "http://[a-zA-Z0-9:%\\-\\./_@]*\\[[a-fA-F0-9:][a-fA-F0-9:\\.]*\\][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$;]*", #ifdef USE_SSL - "https://[a-zA-Z0-9:%\\-\\./_@]*\\[[a-fA-F0-9:][a-fA-F0-9:\\.]*\\][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$]*", + "https://[a-zA-Z0-9:%\\-\\./_@]*\\[[a-fA-F0-9:][a-fA-F0-9:\\.]*\\][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$;]*", #endif /* USE_SSL */ "ftp://[a-zA-Z0-9:%\\-\\./_@]*\\[[a-fA-F0-9:][a-fA-F0-9:\\.]*\\][a-zA-Z0-9:%\\-\\./=_+@#,\\$]*", #endif /* INET6 */ |