Hi everyone!<br><br>Recently we've moved from lighttpd to nginx and I've discovered a problem with the different rewrite handling in nginx.<br><br>The rule:<br><br>rewrite ^/download/([^/]+)/(.+)/$Â Â Â Â Â Â /index.php/download/?hash=$1&filename=$2Â Â Â Â Â Â Â last;<br>
<br>works fine, but the $1 and $2 args in the result url are not url encoded and sometimes we have "&" in the filenames which brakes the resulting query string by cutting the file name and adding another variable. Encoding & as %26 in the source url doesn't help. Is there a way to enable url encoding of the args for the result url?<br>
<br>***<br>Alexander Radostin<br>