]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/htmlpurifier/HTMLPurifier/URIScheme/nntp.php
remove autoload section in composer.json
[github/wallabag/wallabag.git] / inc / 3rdparty / htmlpurifier / HTMLPurifier / URIScheme / nntp.php
CommitLineData
d4949327
NL
1<?php\r
2\r
3/**\r
4 * Validates nntp (Network News Transfer Protocol) as defined by generic RFC 1738\r
5 */\r
6class HTMLPurifier_URIScheme_nntp extends HTMLPurifier_URIScheme\r
7{\r
8 /**\r
9 * @type int\r
10 */\r
11 public $default_port = 119;\r
12\r
13 /**\r
14 * @type bool\r
15 */\r
16 public $browsable = false;\r
17\r
18 /**\r
19 * @param HTMLPurifier_URI $uri\r
20 * @param HTMLPurifier_Config $config\r
21 * @param HTMLPurifier_Context $context\r
22 * @return bool\r
23 */\r
24 public function doValidate(&$uri, $config, $context)\r
25 {\r
26 $uri->userinfo = null;\r
27 $uri->query = null;\r
28 return true;\r
29 }\r
30}\r
31\r
32// vim: et sw=4 sts=4\r