commit accd90e6c7beb22dd5c9dae2bfab4b14fa46e3be
parent 8cf7d6a024ef0227fe7c1aca5c7b294c29503a1c
Author: ukai <ukai>
Date: Sun, 19 Oct 2003 16:17:12 +0000
[w3m-dev 04002] Re: function and w3m-control
* url.c (getURLScheme): accept numeric in scheme
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-20 ABE Yuji <cbo46560@pop12.odn.ne.jp>
+
+ * [w3m-dev 04002] Re: function and w3m-control
+ * url.c (getURLScheme): accept numeric in scheme
+
2003-10-18 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03996] HELP_DIR and funcname.tab
diff --git a/url.c b/url.c
@@ -1238,7 +1238,7 @@ getURLScheme(char **url)
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;