mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
Merge pull request #571 from g3offrey/master
html_encode the + character
This commit is contained in:
commit
927ed229f2
1 changed files with 2 additions and 0 deletions
|
@ -582,6 +582,8 @@ char *html_encode(char *string) {
|
|||
ret = hydra_strrep(ret, "#", "%23");
|
||||
if (index(ret, '=') != NULL)
|
||||
ret = hydra_strrep(ret, "=", "%3D");
|
||||
if (index(ret, '+') != NULL)
|
||||
ret = hydra_strrep(ret, "+", "%2B");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue