commit e1a9403aede3667c1bda6cbc15817b5484b70a9c from: Omar Polo via: Thomas Adam date: Fri Jan 06 09:33:01 2023 UTC 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@ commit - 3c14c1f2875343bc03f7ef656f03bfa85ba1b4bf commit + e1a9403aede3667c1bda6cbc15817b5484b70a9c blob - dc2eae333e9de20f449a1ed77bff33762053d477 blob + ed309bdb7eafa2433c8ac9cc34326e71ceb50c80 --- 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;