]> gitweb.ps.run Git - ps-cgit/commit
ui-shared: URL-escape script_name
authorJohn Keeping <john@keeping.me.uk>
Sun, 12 Jan 2014 19:45:16 +0000 (19:45 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 12 Jan 2014 22:02:19 +0000 (23:02 +0100)
commita45030f8ee10bc97ffcf1bf0061a2e6f22c7252a
treea4e955fdb42b6f6dd2b2015977c99daa031dbf52
parentd1a6ece439e651a5b4ca535850e1c471f61c472e
ui-shared: URL-escape script_name

As far as I know, there is no requirement that $SCRIPT_NAME contain only
URL-safe characters, so we need to make sure that any special characters
are escaped.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-shared.c