Skip to content
Snippets Groups Projects
Commit 6660a24d authored by Marcus Wellhardh's avatar Marcus Wellhardh
Browse files

http_encode_string now quotes +.

Rev: lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:1.11
parent e8c2e9bd
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ string http_encode_string(string f)
"\210", "\211", "\212", "\213", "\214", "\215", "\216", "\217",
"\220", "\221", "\222", "\223", "\224", "\225", "\226", "\227",
"\230", "\231", "\232", "\233", "\234", "\235", "\236", "\237",
" ", "%", "'", "\"" }),
" ", "%", "'", "\"", "+" }),
({
"%00", "%01", "%02", "%03", "%04", "%05", "%06", "%07",
"%08", "%09", "%0a", "%0b", "%0c", "%0d", "%0e", "%0f",
......@@ -206,7 +206,7 @@ string http_encode_string(string f)
"%88", "%89", "%8a", "%8b", "%8c", "%8d", "%8e", "%8f",
"%90", "%91", "%92", "%93", "%94", "%95", "%96", "%97",
"%98", "%99", "%9a", "%9b", "%9c", "%9d", "%9e", "%9f",
"%20", "%25", "%27", "%22"}));
"%20", "%25", "%27", "%22", "%2b"}));
}
string http_encode_cookie(string f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment