[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/TemplateChecks/ -> DisallowUnsafeDynamicURL.php (summary)

(no description)

Copyright: Copyright (c) 2010-2022 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 119 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

DisallowUnsafeDynamicURL:: (7 methods):
  getNodes()
  isSafe()
  checkAttributeNode()
  checkElementNode()
  chooseHasSafeUrl()
  elementHasSafeUrl()
  isSafeUrl()


Class: DisallowUnsafeDynamicURL  - X-Ref

This primary use of this check is to ensure that dynamic content cannot be used to create
javascript: links

getNodes(DOMElement $template)   X-Ref
{@inheritdoc}


isSafe(Attribute $attribute)   X-Ref
{@inheritdoc}


checkAttributeNode(DOMAttr $attribute, Tag $tag)   X-Ref
{@inheritdoc}


checkElementNode(DOMElement $element, Tag $tag)   X-Ref
{@inheritdoc}


chooseHasSafeUrl(DOMElement $choose)   X-Ref
Test whether every branch of a given xsl:choose element contains a known-safe URL

param: DOMElement $choose
return: bool

elementHasSafeUrl(DOMElement $element)   X-Ref
Test whether given element contains a known-safe URL

param: DOMElement $element
return: bool

isSafeUrl($url)   X-Ref
Test whether given URL is known to be safe

param: string $url
return: bool



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1