Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
XmlEncoderTest::testSupportsEncoding function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the supportsEncoding() method.
XmlEntityNormalizationQuirksTrait trait core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php Trait for EntityResourceTestBase subclasses testing $format='xml'.
XmlEntityNormalizationQuirksTrait.php file core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XmlEntityNormalizationQuirksTrait::applyXmlConfigEntityDecodingQuirks function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php Applies the XML config entity encoding quirks that remain after decoding.
XmlEntityNormalizationQuirksTrait::applyXmlFieldDecodingQuirks function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php Applies the XML entity field encoding quirks that remain after decoding.
XmlEntityNormalizationQuirksTrait::doTestPatch function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XmlEntityNormalizationQuirksTrait::doTestPost function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XmlEntityNormalizationQuirksTrait::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/EntityResource/XmlEntityNormalizationQuirksTrait.php
XmlNormalizationQuirksTrait trait core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php Trait for ResourceTestBase subclasses testing $format='xml'.
XmlNormalizationQuirksTrait.php file core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php
XmlNormalizationQuirksTrait::applyXmlDecodingQuirks function core/modules/rest/tests/src/Functional/XmlNormalizationQuirksTrait.php Applies the XML encoding quirks that remain after decoding.
Xss class core/lib/Drupal/Component/Utility/Xss.php Provides helper to filter for cross-site scripting.
Xss.php file core/lib/Drupal/Component/Utility/Xss.php
Xss::$adminTags property core/lib/Drupal/Component/Utility/Xss.php The list of HTML tags allowed by filterAdmin().
Xss::$htmlTags property core/lib/Drupal/Component/Utility/Xss.php The default list of HTML tags allowed by filter().
Xss::attributes function core/lib/Drupal/Component/Utility/Xss.php Processes a string of HTML attributes.
Xss::filter function core/lib/Drupal/Component/Utility/Xss.php Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities.
Xss::filterAdmin function core/lib/Drupal/Component/Utility/Xss.php Applies a very permissive XSS/HTML filter for admin-only use.
Xss::getAdminTagList function core/lib/Drupal/Component/Utility/Xss.php Gets the list of HTML tags allowed by Xss::filterAdmin().
Xss::getHtmlTagList function core/lib/Drupal/Component/Utility/Xss.php Gets the standard list of HTML tags allowed by Xss::filter().
Xss::needsRemoval function core/lib/Drupal/Component/Utility/Xss.php Whether this element needs to be removed altogether.
Xss::split function core/lib/Drupal/Component/Utility/Xss.php Processes an HTML tag.
XssTest class core/tests/Drupal/Tests/Component/Utility/XssTest.php XSS Filtering tests.
XssTest class core/modules/views_ui/tests/src/Functional/XssTest.php Tests the Xss vulnerability.
XssTest.php file core/modules/views_ui/tests/src/Functional/XssTest.php
XssTest.php file core/tests/Drupal/Tests/Component/Utility/XssTest.php
XssTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/XssTest.php The theme to install as the default for testing.
XssTest::$modules property core/modules/views_ui/tests/src/Functional/XssTest.php Modules to install.
XssTest::assertNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Asserts that a text transformed to lowercase with HTML entities decoded does contain a given string.
XssTest::assertNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Asserts that text transformed to lowercase with HTML entities decoded does not contain a given string.
XssTest::providerTestAttributes function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testAttribute().
XssTest::providerTestFilterXssAdminNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testFilterXssAdminNotNormalized().
XssTest::providerTestFilterXssNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testFilterXssNormalized().
XssTest::providerTestFilterXssNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testFilterXssNotNormalized().
XssTest::providerTestInvalidMultiByte function core/tests/Drupal/Tests/Component/Utility/XssTest.php Data provider for testInvalidMultiByte().
XssTest::setUp function core/tests/Drupal/Tests/Component/Utility/XssTest.php
XssTest::testAttribute function core/tests/Drupal/Tests/Component/Utility/XssTest.php Check that strings in HTML attributes are correctly processed.
XssTest::testFilterNormalizedHtml5 function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that escaped HTML embedded in an attribute is not filtered.
XssTest::testFilterXSSAdmin function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that \Drupal\Component\Utility\Xss::filterAdmin() correctly strips disallowed tags.
XssTest::testFilterXssAdminNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Tests the loose, admin HTML filter.
XssTest::testFilterXssNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Tests limiting allowed tags and XSS prevention.
XssTest::testFilterXssNotNormalized function core/tests/Drupal/Tests/Component/Utility/XssTest.php Tests limiting to allowed tags and XSS prevention.
XssTest::testInvalidMultiByte function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that invalid multi-byte sequences are rejected.
XssTest::testNoDoubleEscaping function core/modules/views_ui/tests/src/Functional/XssTest.php Checks the admin UI for double escaping.
XssTest::testQuestionSign function core/tests/Drupal/Tests/Component/Utility/XssTest.php Checks that strings starting with a question sign are correctly processed.
XssTest::testViewsUi function core/modules/views_ui/tests/src/Functional/XssTest.php Tests escaping with the test view.
XssUnitTest class core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Tests XSS filtering.
XssUnitTest.php file core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php
XssUnitTest::$modules property core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php Modules to install.
XssUnitTest::setUp function core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.