fix handling of / as cgi prefix