Handle mail lookups with @ escaped.
This commit is contained in:
parent
edb7faf700
commit
2aed7802db
|
@ -51,10 +51,10 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
# gpg --locate-key <EMAIL>
|
# gpg --locate-key <EMAIL>
|
||||||
if ($args ~* "^op=get&options=mr&?search=(..)([^&]*)@([^&]*)") {
|
if ($args ~* "^op=get&options=mr&?search=(..)([^&]*)(@|%40)([^&]*)") {
|
||||||
set $dir $1;
|
set $dir $1;
|
||||||
set $local $2;
|
set $local $2;
|
||||||
set $horst $3;
|
set $horst $4;
|
||||||
rewrite . /by-email/$dir/$local%40$horst;
|
rewrite . /by-email/$dir/$local%40$horst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue