braintree / sanitize-url

MIT License
312 stars 35 forks source link

Filter by protocol #1

Closed EvanHahn closed 7 years ago

EvanHahn commented 7 years ago

Feel free to ignore this suggestion.

Instead of blacklisting javascript:, this whitelists http: and https: protocols.

crookedneighbor commented 7 years ago

We can't do this, because we also get mobile urls for the mobile apps.

EvanHahn commented 7 years ago

Alas!!