- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SAFE_URL_PATTERN (0.1 sec)
-
src/main/webapp/js/admin/bootstrap.min.js.map
stickyContent","actualPadding","calculatedPadding","actualMargin","marginRight","calculatedMargin","padding","elements","SELECTOR_STICKY_CONTENT","margin","scrollDiv","scrollbarWidth","width","clientWidth","removeChild","_this11","uriAttrs","SAFE_URL_PATTERN","DATA_URL_PATTERN","sanitizeHtml","unsafeHtml","whiteList","sanitizeFn","createdDocument","DOMParser","parseFromString","whitelistKeys","keys","el","elName","nodeName","attributeList","attributes","whitelistedAttributes","concat","allowedAt...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 180.9K bytes - Viewed (0) -
src/main/webapp/js/bootstrap.min.js.map
sanitizer.ts#L38\n */\n// eslint-disable-next-line unicorn/better-regex\nconst SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i\n\nconst allowedAttribute = (attribute, allowedAttributeList) => {\n const attributeName = attribute.nodeName.toLowerCase()\n\n if (allowedAttributeList.includes(attributeName)) {\n if (uriAttributes.has(attributeName)) {\n return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue))\n }\n\n return true\n }\n\n // Check if a regular...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 211.9K bytes - Viewed (0)