]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
git-cgi.t: Print query string as a TAP diagnostic
authorSimon McVittie <smcv@debian.org>
Thu, 31 Jan 2019 19:48:08 +0000 (19:48 +0000)
committerSimon McVittie <smcv@debian.org>
Thu, 31 Jan 2019 20:37:06 +0000 (20:37 +0000)
Signed-off-by: Simon McVittie <smcv@debian.org>
t/git-cgi.t

index ee47261edd525497f9332c5dfe077491ef7c8fc7..c0d087026d2223ba3935e7c006144b08de1389ac 100755 (executable)
@@ -112,6 +112,7 @@ sub run_cgi {
 
        my $cgi = CGI->new($args{params});
        my $query_string = $cgi->query_string();
+       diag $query_string;
 
        if ($method eq 'POST') {
                $defaults{REQUEST_METHOD} = 'POST';