0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-14 01:08:41 +00:00
htmlpurifier/library/HTMLPurifier/URIScheme.php

17 lines
309 B
PHP

<?php
class HTMLPurifier_URIScheme
{
var $default_port = null;
function validateComponents(
$userinfo, $host, $port, $path, $query, $config
) {
if ($this->default_port == $port) $port = null;
return array($userinfo, $host, $port, $path, $query);
}
}
?>