diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | url.c | 6 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2002-02-08 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03017] URI scheme is case insensitive + * url.c (searchURIMethods): s/strcmp/strcasecmp/ + 2002-02-08 Tsutomu Okada <okada@furuno.co.jp> * [w3m-dev 03011] segmentation fault on <input> tag without <form> @@ -2875,4 +2880,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.307 2002/02/08 11:18:10 ukai Exp $ +$Id: ChangeLog,v 1.308 2002/02/08 11:20:14 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.41 2002/02/04 14:49:21 ukai Exp $ */ +/* $Id: url.c,v 1.42 2002/02/08 11:20:14 ukai Exp $ */ #include <stdio.h> #include "config.h" #include "fm.h" @@ -2077,13 +2077,13 @@ searchURIMethods(ParsedURL *pu) for (i = 0; (ump = urimethods[i]) != NULL; i++) { for (; ump->item1 != NULL; ump++) { - if (strcmp(ump->item1, scheme->ptr) == 0) { + if (strcasecmp(ump->item1, scheme->ptr) == 0) { return Sprintf(ump->item2, url_quote(url->ptr)); } } } for (ump = default_urimethods; ump->item1 != NULL; ump++) { - if (strcmp(ump->item1, scheme->ptr) == 0) { + if (strcasecmp(ump->item1, scheme->ptr) == 0) { return Sprintf(ump->item2, url_quote(url->ptr)); } } |