Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(): sanitize components using innerHTML #18083

Merged
merged 31 commits into from
Apr 26, 2019
Merged
Changes from 2 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
99c7fa9
Add sanitization method and tests
liamdebeasi Apr 19, 2019
8955722
integrate sanitizer with innerHTML usage
liamdebeasi Apr 19, 2019
4869f82
undo test string
liamdebeasi Apr 19, 2019
090a641
update style
liamdebeasi Apr 19, 2019
4ee2891
run linter
liamdebeasi Apr 22, 2019
fbfaadc
Merge branch 'master' into sanitize-inputs
liamdebeasi Apr 22, 2019
6e34401
change !== to !=
liamdebeasi Apr 23, 2019
e1084c8
Merge branch 'master' into sanitize-inputs
brandyscarney Apr 23, 2019
55880a7
wrap sanitize in try catch, add case for numbers
liamdebeasi Apr 23, 2019
517f5be
Merge branch 'sanitize-inputs' of https://github.com/ionic-team/ionic…
liamdebeasi Apr 23, 2019
7eefd5f
update docs to mention sanitizing
liamdebeasi Apr 23, 2019
636eb92
Merge branch 'master' into sanitize-inputs
liamdebeasi Apr 23, 2019
b67667f
remove extra docs
liamdebeasi Apr 23, 2019
a18a866
Merge branch 'sanitize-inputs' of https://github.com/ionic-team/ionic…
liamdebeasi Apr 23, 2019
c6158b8
change throw to console.error
liamdebeasi Apr 23, 2019
09dd0ca
return empty string after erroring
liamdebeasi Apr 23, 2019
8c116c9
add blacklisted tags, add support to older chrome browsers
liamdebeasi Apr 23, 2019
ed74912
fix typo
liamdebeasi Apr 23, 2019
b92f195
add recursive step to get nested children, update per comments
liamdebeasi Apr 24, 2019
24551b1
update wording to use blocked and allowed
liamdebeasi Apr 24, 2019
4aa5a53
add compatibility for older browsers
liamdebeasi Apr 24, 2019
50fdf37
Merge branch 'master' into sanitize-inputs
liamdebeasi Apr 24, 2019
01fdccf
clean up
liamdebeasi Apr 24, 2019
7079b59
Merge branch 'sanitize-inputs' of https://github.com/ionic-team/ionic…
liamdebeasi Apr 24, 2019
f17e895
use document fragment, clean up code
liamdebeasi Apr 24, 2019
cf46aab
Merge branch 'master' into sanitize-inputs
liamdebeasi Apr 24, 2019
9914386
remove extra tslint lines
liamdebeasi Apr 26, 2019
dd9180e
a few more tweaks
liamdebeasi Apr 26, 2019
009691d
Merge branch 'master' into sanitize-inputs
liamdebeasi Apr 26, 2019
4d006ee
add link to security docs
liamdebeasi Apr 26, 2019
0209d80
Merge branch 'sanitize-inputs' of https://github.com/ionic-team/ionic…
liamdebeasi Apr 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

These merge commits were added into this branch cleanly.

There are no new changes to show.