1
当我发送它们时,Nginx似乎是urldecode并匹配url。无论如何要阻止这一点?url中的nginx urldecoding斜杠
curl https://localhost/schedule/Joe+%2F+%26+Smith
越来越受
rewrite ^/schedule/([^/]+)/([^/]+)$ /a.php?first=$1&last=$2;
而不是
rewrite ^/schedule/([^/]+)$ /a.php?fullname=$1;