aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-14 17:13:13 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-14 17:13:13 +0000
commit46bf324ebde9074a26176ec29a7c0f11a98401f1 (patch)
tree46a255e98d48176717798104007cda81f6a29c8d
parent[w3m-dev 02656] (diff)
downloadw3m-46bf324ebde9074a26176ec29a7c0f11a98401f1.tar.gz
w3m-46bf324ebde9074a26176ec29a7c0f11a98401f1.zip
[w3m-dev 02657]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
-rw-r--r--ChangeLog7
-rw-r--r--main.c6
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f26b80f..dcdf616 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2001-12-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
+ * [w3m-dev 02657]
+ * main.c (chkURL): accept URL ending with '='
+
+2001-12-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
+
* [w3m-dev 02656]
* XMakefile (clean): remove functable.c
* anchor.c (_put_anchor_new): use Strnew_size() and Strcat_charp_n()
@@ -1232,4 +1237,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.126 2001/12/14 17:10:54 ukai Exp $
+$Id: ChangeLog,v 1.127 2001/12/14 17:13:13 ukai Exp $
diff --git a/main.c b/main.c
index 4febcd6..e30e42f 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.34 2001/12/10 17:02:44 ukai Exp $ */
+/* $Id: main.c,v 1.35 2001/12/14 17:13:13 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -4062,9 +4062,9 @@ void
chkURL(void)
{
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:%\\-\\./_]*",