This commit is contained in:
van Hauser 2017-05-20 15:44:42 +02:00
commit 3ed91cd18f
4 changed files with 6 additions and 4 deletions

View file

@ -454,6 +454,8 @@ char *html_encode(char *string) {
ret = hydra_strrep(ret, "&", "%26");
if (index(ret, '#') != NULL)
ret = hydra_strrep(ret, "#", "%23");
if (index(ret, '=') != NULL)
ret = hydra_strrep(ret, "=", "%3D");
return ret;
}