Added the forward slash to the list of characters
authorArt Cancro <ajc@citadel.org>
Tue, 12 Jun 2007 15:42:14 +0000 (15:42 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 12 Jun 2007 15:42:14 +0000 (15:42 +0000)
escaped by urlesc().  This prevents the slash from being interpreted
as a directory separator.

webcit/webcit.c

index 36e1da392e62f62ad1613c2542e1942458ca9fe6..aef8b0a24c19bf307fc2fcafa5eb4b5dcc01eec7 100644 (file)
@@ -262,7 +262,7 @@ void escputs(char *strbuf)
 void urlesc(char *outbuf, char *strbuf)
 {
        int a, b, c;
-       char *ec = " #&;`'|*?-~<>^()[]{}$\"\\";
+       char *ec = " #&;`'|*?-~<>^()[]{}/$\"\\";
 
        strcpy(outbuf, "");