3 namespace Friendica\Content\Text;
5 use \HTMLPurifier_URIScheme;
8 * Validates content-id ("cid") as used in multi-part MIME messages, as defined by RFC 2392
10 class HTMLPurifier_URIScheme_cid extends HTMLPurifier_URIScheme
15 public $browsable = true;
20 public $may_omit_host = true;
23 * @param HTMLPurifier_URI $uri
24 * @param HTMLPurifier_Config $config
25 * @param HTMLPurifier_Context $context
28 public function doValidate(&$uri, $config, $context)
30 $uri->userinfo = null;
34 // typecode check needed on path