0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/js/tests/unit/util
Florian Vick 2a9d72133d
Prevent getSelector from returning URLs as selector (#32586)
* added checks to getSelector in util to prevent returning hrefs that are invalid selectors

* restored compatibility for the class selector and added test cases for keeping urls from being returned as a selector

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03 21:58:54 +02:00
..
index.spec.js Prevent getSelector from returning URLs as selector (#32586) 2021-02-03 21:58:54 +02:00
sanitizer.spec.js tests: fix sanitizer test. (#32045) 2020-11-02 14:49:56 +02:00