commit a2e003f6c2c0328c0f4f67741b5fccc9180a5bb6
parent ba033e45420cd74d64585335dd8d714caefe668a
Author: inu <inu>
Date: Wed, 23 May 2007 12:14:24 +0000
decoding URLs in correct condition.
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-23 tamo
+
+ * [20070121110209@w3mbbs] unnecessary decoding in linein.c
+ * linein.c: decoding URLs in correct condition.
+
2007-05-23 Tsutomu OKADA
* [20061228000713@w3mbbs] avoid warning for file.c
diff --git a/linein.c b/linein.c
@@ -1025,7 +1025,7 @@ _prev(void)
return;
strCurrentBuf = strBuf;
}
- if (DecodeURL)
+ if (DecodeURL && (cm_mode & CPL_URL) )
p = url_unquote_conv(p, 0);
strBuf = Strnew_charp(p);
CLen = CPos = setStrType(strBuf, strProp);
@@ -1044,7 +1044,7 @@ _next(void)
return;
p = nextHist(hist);
if (p) {
- if (DecodeURL)
+ if (DecodeURL && (cm_mode & CPL_URL) )
p = url_unquote_conv(p, 0);
strBuf = Strnew_charp(p);
}