Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Switch from bind-html-unsafe to ng-bind-html in typeahead #4073

Closed
wesleycho opened this issue Aug 2, 2015 · 3 comments
Closed

Switch from bind-html-unsafe to ng-bind-html in typeahead #4073

wesleycho opened this issue Aug 2, 2015 · 3 comments

Comments

@wesleycho
Copy link
Contributor

For security reasons, we should only be adding whitelisted HTML - we should not be using an unsafe binding mechanism.

@wesleycho
Copy link
Contributor Author

This requires a change in the typeahead-match.html template, as well as likely some work fixing the tests to whitelist the templates. This also requires some change in typeahead itself, including the typeaheadHighlight filter.

@wesleycho
Copy link
Contributor Author

This should be addressed by the changes in #3463.

@wesleycho
Copy link
Contributor Author

This is also a duplicate of #2884

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant