[Nginx] Accept a trailing slash in /edit and /qhandler links

This commit is contained in:
FreddleSpl0it committed 2026-11-09 23:08:14 +01:00
1 parent 262de81da1
commit 1a42c19050
1 file changed
+2 -2
@@ -94,11 +94,11 @@ location / {
}
location /qhandler {
rewrite ^/qhandler/(.*)/(.*) /qhandler.php?action=$1&hash=$2;
rewrite ^/qhandler/([^/]+)/(.+?)/?$ /qhandler.php?action=$1&hash=$2;
}
location /edit {
rewrite ^/edit/(.*)/(.*) /edit.php?$1=$2;
rewrite ^/edit/([^/]+)/(.+?)/?$ /edit.php?$1=$2;
}
location ~ ^/api/v1/(.*)$ {