Skip to content
Snippets Groups Projects
Verified Commit 95b9649a authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

aurweb: Make redirect regex more specific to avoid false positives

Closes: #542
Fixes: 722cc5bf ("aurweb: release 6.2.8")
parent 02960645
No related branches found
No related tags found
No related merge requests found
Pipeline #80672 passed
......@@ -51,7 +51,7 @@ server {
index index.php;
# redirect /tu to /package-maintainer for external links
location ~ ^/tu(.*) {
location ~ ^/tu($|/.*) {
return 301 https://aur.archlinux.org/package-maintainer$1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment