nginx: Redirect special characters like "%23" in URL to "#"
not tested. I'm not sure which symbols get the pattern.
rewrite ^/([^\#]+)\#([^\#]+)$ /$1#$2 redirect;rewrite '^/([^\&]+)\"\;\>\;$' /$1 redirect;
not tested. I'm not sure which symbols get the pattern.
rewrite ^/([^\#]+)\#([^\#]+)$ /$1#$2 redirect;rewrite '^/([^\&]+)\"\;\>\;$' /$1 redirect;