exact match for broken replacement character URL

This commit is contained in:
Daniel Micay 2020-12-31 20:26:03 -05:00
parent 469e30fbd9
commit 3ad973636d

View File

@ -181,7 +181,7 @@ http {
}
# broken link (now fixed) on https://noagendaphone.com/ with UTF-8 replacement character
location ~ "/\xEF\xBF\xBC" {
location ~ "^/\xEF\xBF\xBC$" {
return 301 /;
}