0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +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);
}
}
?>