ouspg / urlhandlers

Discover and Hack URL handlers
MIT License
34 stars 3 forks source link

Clean-up broken handler data #11

Closed ikisusi closed 8 years ago

ikisusi commented 8 years ago

Validator caught problems:

$ bin/validate-presets.py web/db/handlerpresets.json 
ERROR: "ms-word:" handler with "word:http://www.microsoft.com/investor/downloads/events/CreditSuisseReller.docx" value
ERROR: "slack:" handler with "x-man-page://1/man" value
ERROR: "word:" handler with "ms-word:http://www.microsoft.com/investor/downloads/events/CreditSuisseReller.docx" value
ERROR: "map:" handler with "maps://?ll=50.894967,4.341626" value
ERROR: "map:" handler with "maps://?daddr=San+Francisco&dirflg=d&t=h" value
ERROR: "map:" handler with "maps://?saddr=San+Jose&daddr=San+Francisco&dirflg=r" value
ERROR: "map:" handler with "maps://?address=1,Infinite+Loop,Cupertino,California" value

Something fishy with atom: vs. atom

$ grep "atom.*{" web/db/*.json
web/db/handlerinfo.json:    "atom": {
web/db/handlerinfo.json:    "atom:": {
web/db/handlerurls.json:    "atom:": {