asafdav / ng-csv

Simple directive that turns arrays and objects into downloadable CSV files
MIT License
573 stars 215 forks source link

Adds back the 'tel:' protocol (e.g. phone links) to $compileProviders link whitelist #145

Open Joel-Kornbluh opened 8 years ago

Joel-Kornbluh commented 8 years ago

Angular $compileProviders's default link whitelist (e.g. list of safe links) is defined as /^\s*(https?|ftp|mailto|tel|file):/. But this line here adds some additional protocols and accidently removes tel: links from the whitelist.

This pull request restores angular's default behaviour.

blacksun1 commented 8 years ago

LGTM