remove any query_string before chdir #4

Merged
solene merged 1 commits from phoebos/vger:query_string_slashes into master 2022-03-26 08:27:25 +00:00

1 Commits

Author SHA1 Message Date
aabacchus 394b86bca8
remove any query_string before chdir
a query string could contain a '/' character, which would make vger try
to chdir to an incorrect directory. remove the query_string before this,
and before percent-decoding (in case there is an encoded '?'). This
should happen even if we are not doing cgi, because some clients might
send a query_string anyway, which should be ignored.
2022-03-19 14:49:44 +00:00