diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-08 11:37:09 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-08 11:37:09 +0000 |
commit | 589c1c02114bad169d81b1210e76a5de3b53b725 (patch) | |
tree | 2043f89f98d08dbd0a0ee9203a5ee6f8f7ffece8 | |
parent | add comments (diff) | |
download | w3m-589c1c02114bad169d81b1210e76a5de3b53b725.tar.gz w3m-589c1c02114bad169d81b1210e76a5de3b53b725.zip |
[w3m-dev 03021] Bug#132934: w3m should recognize file:/uris
in chkURLBuffer function
* main.c (chkURLBuffer): add "file:"
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | main.c | 3 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2002-02-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03021] Bug#132934: w3m should recognize file:/uris + in chkURLBuffer function + * main.c (chkURLBuffer): add "file:" + 2002-02-08 Yuji Abe <cbo46560@pop12.odn.ne.jp> * [w3m-dev 03017] URI scheme is case insensitive @@ -2880,4 +2886,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.308 2002/02/08 11:20:14 ukai Exp $ +$Id: ChangeLog,v 1.309 2002/02/08 11:37:09 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.80 2002/02/07 14:44:47 ukai Exp $ */ +/* $Id: main.c,v 1.81 2002/02/08 11:37:09 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -4314,6 +4314,7 @@ chkURLBuffer(Buffer *buf) { static char *url_like_pat[] = { "https?://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$;]*[a-zA-Z0-9_/=]", + "file:/[a-zA-Z0-9:%\\-\\./=_\\+@#,\\$;]*", #ifdef USE_GOPHER "gopher://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./_]*", #endif /* USE_GOPHER */ |