Skip to content

Commit

Permalink
fix XSS vulnerability reported by Nicolas Sylvain <nsylvain@google.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Sylvain authored and Dustin J. Mitchell committed Aug 12, 2009
1 parent c70ee21 commit 53f3787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/status/web/waterfall.py
Expand Up @@ -584,7 +584,7 @@ def with_args(req, remove_args=[], new_args=[], new_path=None):
newargs[k].append(v)
else:
newargs[k] = [v]
newquery = "&".join(["%s=%s" % (k, v)
newquery = "&".join(["%s=%s" % (k, urllib.quote(v))
for k in newargs
for v in newargs[k]
])
Expand Down

0 comments on commit 53f3787

Please sign in to comment.