Commit Diff
- Commit:
e1a9403aede3667c1bda6cbc15817b5484b70a9c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- gotwebd: urlencode also the double quote character URLs are embedded as part of the HTML and, while it seems legal from RFC3986 to leave that character unquoted, we need it quoted to avoid breaking the HTML output. ok tracey@
- Actions:
- Patch | Tree
--- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -1562,6 +1562,8 @@ should_urlencode(int c) case ',': case ';': case '=': + /* needed because the URLs are embedded into the HTML */ + case '\"': return 1; default: return 0;