Commit 44c52591 by Max Rothman

SEC-220: actually block /login?next=/favicon.ico

Previously we only blocked exact matches to "next=favicon.ico". Now,
we'll also block "next=/favicon.ico" and any other variations.
parent dc92760f
......@@ -166,7 +166,7 @@ error_page {{ k }} {{ v }};
{% include "basic-auth.j2" %}
{% endif %}
if ( $arg_next = "favicon.ico" ) {
if ( $arg_next ~* "favicon.ico" ) {
return 403;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment