Commit ad900a93 by Max Rothman Committed by GitHub

Merge pull request #3514 from edx/max/once-more-with-feeling

SEC-220: actually block /login?next=/favicon.ico
parents dc92760f 44c52591
......@@ -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