[w3m-dev 04002] Re: function and w3m-control
ABE Yuji <[email protected]>
| Newsgroups | gmane.comp.web.w3m.devel |
|---|---|
| Message-ID | <[email protected]> |
At Sun, 19 Oct 2003 18:03:12 +0900,
NAKAJIMA Mikio wrote:
> urimethodmap
>
> e2: file:/cgi-bin/goodict.cgi?%s
>
>
>
> 2: file:/cgi-bin/goodict.cgi?%s
>
> cgi load
> ?
RFC 1738
scheme = 1*[ lowalpha | digit | "+" | "-" | "." ]
RFC 2396
scheme = alpha *( alpha | digit | "+" | "-" | "." )
--- w3m-1.884/url.c 2003-09-27 03:28:04.000000000 +0900
+++ w3m/url.c 2003-10-19 21:27:19.000000000 +0900
@@ -1238,7 +1238,7 @@
int i;
int scheme = SCM_MISSING;
- while (*p && (IS_ALPHA(*p) || *p == '.' || *p == '+' || *p == '-'))
+ while (*p && (IS_ALNUM(*p) || *p == '.' || *p == '+' || *p == '-'))
p++;
if (*p == ':') { /* scheme found */
scheme = SCM_UNKNOWN;