commit a0acd16ad76a7b96b7f29b12fae44e52150b0d94
parent d1d4509bef9667e5125a6a23669e4a4ee7deebe4
Author: ukai <ukai>
Date: Fri, 14 Dec 2001 17:13:13 +0000
[w3m-dev 02657]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git 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()
diff --git a/main.c b/main.c
@@ -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:%\\-\\./_]*",