ILIAS  release_8 Revision v8.24
class.ilSamlIdpMetadataPurifier.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
30 public function purify(string $html): string
31 {
32 return $html;
33 }
34
38 public function purifyArray(array $htmlCollection): array
39 {
40 foreach ($htmlCollection as $key => $html) {
41 $html = $this->purify($html);
42 $htmlCollection[$key] = $html;
43 }
44
45 return $htmlCollection;
46 }
47}
Class ilSamlIdpMetadataPurifier.
purifyArray(array $htmlCollection)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant....
purify(string $html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.string
Interface for html sanitizing functionality.
string $key
Consumer key/client ID value.
Definition: System.php:193