Merge pull request #7629 from mailcow/fix/7454

[Nginx] Edit and quarantine links: allow a trailing slash
This commit is contained in:
FreddleSpl0it authored and GitHub committed 2026-11-09 23:09:05 +01:00
commit 6d20463acb
1 file changed
+2 -2
@@ -94,11 +94,11 @@ location / {
} }
location /qhandler { location /qhandler {
rewrite ^/qhandler/(.*)/(.*) /qhandler.php?action=$1&hash=$2; rewrite ^/qhandler/([^/]+)/(.+?)/?$ /qhandler.php?action=$1&hash=$2;
} }
location /edit { location /edit {
rewrite ^/edit/(.*)/(.*) /edit.php?$1=$2; rewrite ^/edit/([^/]+)/(.+?)/?$ /edit.php?$1=$2;
} }
location ~ ^/api/v1/(.*)$ { location ~ ^/api/v1/(.*)$ {