userinfo = null; $uri->host = null; $uri->port = null; $uri->query = null; if (!empty($uri->path)) return true; return false; } } HTMLPurifier_URISchemeRegistry::instance()->register('cid', new HTMLPurifier_URIScheme_cid()); // vim: et sw=4 sts=4