w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit b535b9262a1f50af26cc7658ed27cdb45e40dbef
parent f09187797fd3e487c8fece6658eb96e314561998
Author: ukai <ukai>
Date:   Fri,  8 Feb 2002 11:37:09 +0000

[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:
MChangeLog | 6++++++
Mmain.c | 1+
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git 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 diff --git a/main.c b/main.c @@ -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 */