aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-08 11:37:09 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-08 11:37:09 +0000
commit589c1c02114bad169d81b1210e76a5de3b53b725 (patch)
tree2043f89f98d08dbd0a0ee9203a5ee6f8f7ffece8
parentadd comments (diff)
downloadw3m-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--ChangeLog8
-rw-r--r--main.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 34c544c..94376a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/main.c b/main.c
index 66ec6a5..6bc837d 100644
--- a/main.c
+++ b/main.c
@@ -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 */