ssl,ssh and http-form fixes

This commit is contained in:
van Hauser 2016-01-20 15:41:09 +01:00
commit 725d14b9a5
3 changed files with 6 additions and 4 deletions

View file

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