Commit Diff
- Commit:
4a7f5bae8842d57984b6f0f260eeb97c104d4d59
- From:
- Omar Polo <op@omarpolo.com>
- 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 @@ -1561,6 +1561,8 @@ should_urlencode(int c) case ',': case ';': case '=': + /* needed because the URLs are embedded into the HTML */ + case '\"': return 1; default: return 0;