1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 01:55:46 +02:00

Release v5.3.7 (#41509)

This commit is contained in:
Julien Déramond
2025-06-10 17:44:49 +02:00
committed by GitHub
parent 0f63de9e73
commit e0032ae6a5
81 changed files with 109 additions and 109 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Bootstrap sanitizer.js v5.3.6 (https://getbootstrap.com/)
* Bootstrap sanitizer.js v5.3.7 (https://getbootstrap.com/)
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -64,7 +64,6 @@
*
* Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38
*/
// eslint-disable-next-line unicorn/better-regex
const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;
const allowedAttribute = (attribute, allowedAttributeList) => {
const attributeName = attribute.nodeName.toLowerCase();