"src/main/webapp/WEB-INF/classes/struts2/user-struts.xml" did not exist on "19aea02389833386a05eefb8808ec1de1cb93907"
Unverified Commit 8ac60e31 authored by Matheus Felipe's avatar Matheus Felipe
Browse files

Remove whitespaces

parent 8136aa9e
......@@ -91,14 +91,14 @@ def get_host_from_link(link: str) -> str:
def has_cloudflare_protection(resp: Response) -> bool:
"""Checks if there is any cloudflare protection in the response.
Cloudflare implements multiple network protections on a given link,
this script tries to detect if any of them exist in the response from request.
Common protections have the following HTTP code as a response:
- 403: When host header is missing or incorrect (and more)
- 503: When DDOS protection exists
See more about it at:
- https://support.cloudflare.com/hc/en-us/articles/115003014512-4xx-Client-Error
- https://support.cloudflare.com/hc/en-us/articles/115003011431-Troubleshooting-Cloudflare-5XX-errors
......
Supports Markdown
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