summaryrefslogtreecommitdiff
path: root/src/gopher.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-04 21:28:33 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-04 22:24:43 +0200
commit8a66b1b85c7377dcbd90d36c04e37f2a7b089b71 (patch)
tree3c618f89c490cb23c65dc87c5054c3b57fbf075c /src/gopher.c
parent21852d8cee62e1a038021855ef5beab904568b88 (diff)
Gopher: Don't re-encode % in URL
Diffstat (limited to 'src/gopher.c')
-rw-r--r--src/gopher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gopher.c b/src/gopher.c
index fa8495d7..cb1079b9 100644
--- a/src/gopher.c
+++ b/src/gopher.c
@@ -115,7 +115,7 @@ static iBool convertSource_Gopher_(iGopher *d) {
115 cstr_Rangecc(port), 115 cstr_Rangecc(port),
116 lineType, 116 lineType,
117 cstrCollect_String( 117 cstrCollect_String(
118 urlEncodeExclude_String(collectNewRange_String(path), "/")), 118 urlEncodeExclude_String(collectNewRange_String(path), "/%")),
119 cstr_Rangecc(text)); 119 cstr_Rangecc(text));
120 appendData_Block(d->output, constBegin_String(buf), size_String(buf)); 120 appendData_Block(d->output, constBegin_String(buf), size_String(buf));
121 iEndCollect(); 121 iEndCollect();