commit deb2cc50c856ef886ce56b2c3d3a1b5c054bc125
parent ee625eef9163df87eb4d463c6372eb57fe074089
Author: ukai <ukai>
Date: Fri, 29 Mar 2002 16:58:06 +0000
[w3m-dev 03162] Re: "ttp:" is marked instead of "http:" by MARL_URL
* main.c (chkURLBuffer): "mailto" removed when USE_W3MMAILER
in this case, chkExternalURIBuffer() will mark mailto: URL.
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-30 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 03162] Re: "ttp:" is marked instead of "http:" by MARL_URL
+ * main.c (chkURLBuffer): "mailto" removed when USE_W3MMAILER
+ in this case, chkExternalURIBuffer() will mark mailto: URL.
+
2002-03-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03160] Re: "ttp:" is marked instead of "http:" by MARL_URL
diff --git a/main.c b/main.c
@@ -4354,7 +4354,9 @@ chkURLBuffer(Buffer *buf)
"news:[^<> ][^<> ]*",
"nntp://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./_]*",
#endif /* USE_NNTP */
+#ifndef USE_W3MMAILER /* see also chkExternalURIBuffer() */
"mailto:[^<> ][^<> ]*@[a-zA-Z0-9][a-zA-Z0-9\\-\\._]*[a-zA-Z0-9]",
+#endif
#ifdef INET6
"https?://[a-zA-Z0-9:%\\-\\./_@]*\\[[a-fA-F0-9:][a-fA-F0-9:\\.]*\\][a-zA-Z0-9:%\\-\\./?=~_\\&+@#,\\$;]*",
"ftp://[a-zA-Z0-9:%\\-\\./_@]*\\[[a-fA-F0-9:][a-fA-F0-9:\\.]*\\][a-zA-Z0-9:%\\-\\./=_+@#,\\$]*",