diff options
author | Sean King <seanking2919@protonmail.com> | 2022-07-17 12:50:01 -0600 |
---|---|---|
committer | Sean King <seanking2919@protonmail.com> | 2022-07-17 12:50:01 -0600 |
commit | 2c7eed122e909f392e3d41efe43fc2b0b99fe842 (patch) | |
tree | 99909fbddf6fdb6ba25c3c2d3bcb2ed5d86574f5 | |
parent | 64e16e6a4be83e9328d62101cc21d10cf07e38fb (diff) | |
download | pleroma-2c7eed122e909f392e3d41efe43fc2b0b99fe842.tar.gz |
Don't accept forward slash character for nicknames
-rw-r--r-- | installation/pleroma.nginx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 8aed2daea..d53852984 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -82,15 +82,15 @@ server { } # Uncomment this if you want notice compatibility routes for frontends like Soapbox. - # location ~ /@.+/([^/]+) { + # location ~ /@([^/]+)/([^/]+) { # proxy_pass http://phoenix/notice/$1; # } # - # location ~ /@.+/posts/([^/]+) { + # location ~ /@([^/]+)/posts/([^/]+) { # proxy_pass http://phoenix/notice/$1; # } # - # location ~ /.+/status/([^/]+) { + # location ~ /([^/]+)/status/([^/]+) { # proxy_pass http://phoenix/notice/$1; # } |