diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | main.c | 4 |
2 files changed, 10 insertions, 2 deletions
@@ -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 @@ -3317,4 +3323,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.365 2002/03/29 16:39:37 ukai Exp $ +$Id: ChangeLog,v 1.366 2002/03/29 16:58:06 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.95 2002/03/29 16:32:00 ukai Exp $ */ +/* $Id: main.c,v 1.96 2002/03/29 16:58:06 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -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:%\\-\\./=_+@#,\\$]*", |