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