From 6660a24d17a4f94b1e1d8a0112dd884ffda664de Mon Sep 17 00:00:00 2001 From: Marcus Wellhardh <wellhard@roxen.com> Date: Tue, 15 Feb 2000 11:00:58 +0100 Subject: [PATCH] http_encode_string now quotes +. Rev: lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:1.11 --- lib/modules/Protocols.pmod/HTTP.pmod/module.pmod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod b/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod index 3a9e943d67..8e916eb027 100644 --- a/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod +++ b/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod @@ -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) -- GitLab