Skip to content

AntiXSSTest

  • Full name: \AntiXSSTest
  • Parent class: TestCase

Methods

testEscapeTags

Test, that tags are escaped

public testEscapeTags(): mixed

testEscapeURL

Test escaping URL's to make them safe for use in html and attributes.

public testEscapeURL(mixed $url, mixed $expected): void

Parameters:

Parameter Type Description
$url mixed
$expected mixed

urlTestProvider

public static urlTestProvider(): array
  • This method is static.

testXmlify

Test xmlify and unxmlify

public testXmlify(): mixed

testXmlifyDocument

Test xmlify and put in a document

public testXmlifyDocument(): mixed


Automatically generated on 2025-03-18