Lagrange [release]

Gopher: Link paths must be URL-encoded

3665e17a0d83aa58dc8de6357e74db3ad2b7bbc2
diff --git a/src/gopher.c b/src/gopher.c
index 229ff9f4..0a7489ba 100644
--- a/src/gopher.c
+++ b/src/gopher.c
@@ -114,7 +114,8 @@ static iBool convertSource_Gopher_(iGopher *d) {
                                   cstr_Rangecc(domain),
                                   cstr_Rangecc(port),
                                   lineType,
-                                  cstr_Rangecc(path),
+                                  cstrCollect_String(
+                                      urlEncodeExclude_String(collectNewRange_String(path), "/")),
                                   cstr_Rangecc(text));
                     appendData_Block(d->output, constBegin_String(buf), size_String(buf));
                     iEndCollect();