chaoslawful/lua-nginx-module — Issue #77: Argument Delimiter
Author: dakanji
Created: 2012-01-04 10:03:48+00:00
State: open

Hi.

I have a PHP application that uses ";" to delimit GET arguments as in "/index.php?a=1;b=2". It seems that get I run ngx.req.get_uri_args, this gets passed as a single argument "a=1;b=2" instead of two, "a=1" and "b=2".

Using ngx_lua to filter inputs, I am getting many false positives because of this. Is it possible to tell the app to consider other delimiters apart from "&" as it is in PHP?

Thanks