This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 6ea1c5d Use correct escaping for form parameters
6ea1c5d is described below
commit 6ea1c5d4f8682c1bd0e624b67187ef57bb53cb75
Author: Sebb <[email protected]>
AuthorDate: Tue Sep 29 20:29:44 2020 +0100
Use correct escaping for form parameters
---
www/incubator/signoff.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/incubator/signoff.cgi b/www/incubator/signoff.cgi
index 0fad816..4685edf 100755
--- a/www/incubator/signoff.cgi
+++ b/www/incubator/signoff.cgi
@@ -127,7 +127,7 @@ _html do
_a name, href: ROSTER_URL + people[name]
end
else
- _a name, href: ROSTER_URL + '?q=' + URI.encode(name)
+ _a name, href: ROSTER_URL + "?" + URI.encode_www_form([["q",
name]])
end
end