more flexible filter cgi param handling