w3c / w3c-website

W3C Website feedback and bug reports
https://www.w3.org/
240 stars 80 forks source link

XML Validation with XSD blocked by Cloudflare as DOS attack #601

Closed pgbrandolin closed 6 months ago

pgbrandolin commented 8 months ago

Describe the issue I came across a IP block issue when I try to validate a set of electronic invoices with the XSD supplied by Italian Revenue Agency. Is there a frequency limit of requests that can be forwarded to w3c urls? After experiencing the block I accessed one of the following URLs and I got a message by Cloudflare that my IP would be blocked for a while.

URL I believe that the following element (extracted from the XSD) is related to the issue:

Recommended solution A suggestion about a way to overcome this issue (request frequency limit? Caching?)

Additional context Thank you

gosko commented 8 months ago

We currently allow 100 requests per minute for .xsd files. To avoid being rate-limited you might try reducing the frequency of your requests, or using an XML Catalog.