Order blocked paths alphabetically
This commit is contained in:
@@ -70,15 +70,15 @@ defmodule MusicLibraryWeb.Endpoint do
|
|||||||
|
|
||||||
@blocked_paths [
|
@blocked_paths [
|
||||||
"/.env",
|
"/.env",
|
||||||
|
"/admin",
|
||||||
|
"/files.php",
|
||||||
"/grsiuk.php",
|
"/grsiuk.php",
|
||||||
|
"/jq.php",
|
||||||
|
"/style.php",
|
||||||
"/vgtyu.php",
|
"/vgtyu.php",
|
||||||
"/xmlrpc.php",
|
|
||||||
"/vx.php",
|
"/vx.php",
|
||||||
"/xleet.php",
|
"/xleet.php",
|
||||||
"/jq.php",
|
"/xmlrpc.php"
|
||||||
"/files.php",
|
|
||||||
"/style.php",
|
|
||||||
"/admin"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
defp reject_bot_scanners(%{request_path: path} = conn, _opts) when path in @blocked_paths,
|
defp reject_bot_scanners(%{request_path: path} = conn, _opts) when path in @blocked_paths,
|
||||||
|
|||||||
Reference in New Issue
Block a user