fix redirect of mangled backlinks

This commit is contained in:
Daniel Micay 2021-02-23 22:31:42 -05:00
parent aa69d6c943
commit 0ebc070231

View File

@ -130,7 +130,7 @@ http {
}
# https://www.twipu.com/GrapheneOS doesn't handle links with fragments properly
if ($request_uri ~ "^/(.*)<a href=$") {
if ($request_uri ~ "^/(.*)%3Ca%20href=$") {
return 301 https://grapheneos.org/$1;
}