how to rewrite when url contain null char in nginx
===

Here I have a problem about rewrite url when url contain null char in nginx.

For example, the get url is 

    http://localhost/test/\x02x00/

if `\x00` occur in url, nginx will return 400 bad request.

I try this rewrite rule but looks doesn't work.

    rewrite "/test/\x02\x00/"  /new/

However if I remove `\x00` everything works fine.

Anyone has any idea about this situation?