t9502: pass along all arguments in xss helper
commit0eba60c9b781ce8169f1288a73b538f1ecf3b615
authorJeff King <peff@peff.net>
Fri, 15 Nov 2019 09:05:56 +0000 (15 04:05 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2019 01:46:05 +0000 (18 10:46 +0900)
treefbf01833c95a8a72c3ea5c0c255b686ebf608843
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9
t9502: pass along all arguments in xss helper

This function is just a thin wrapper around gitweb_run(), which takes
multiple arguments. But we only pass along "$1". Let's pass everything
we get, which will let a future patch add an XSS test that affects
PATH_INFO (which gitweb_run() takes as $2).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9502-gitweb-standalone-parse-output.sh