w3c / Mobile-Checker

The Mobile Checker is a tool for Web developers who want to make their Web page or Web app work better on mobile devices.
https://validator.w3.org/mobile-alpha/
MIT License
322 stars 84 forks source link

Filter URLs that can be checked #28

Closed dontcallmedom closed 10 years ago

dontcallmedom commented 10 years ago

We need to make sure that the checker can't be used to access URLs that are not available to the outside world (e.g. 127.0.0.1, and others).

The easiest is probably to transpose on the python library we use for this in other services: http://dev.w3.org/cvsweb/2004/PythonLib-IH/checkremote.py?rev=1.24;content-type=text%2Fplain

dontcallmedom commented 10 years ago

Done thanks to https://github.com/w3c/safe-url-input-checker