]> git.wh0rd.org - tt-rss.git/blame - lib/htmlpurifier/library/HTMLPurifier/URIScheme/nntp.php
remove Archived articles from Uncategorized view
[tt-rss.git] / lib / htmlpurifier / library / HTMLPurifier / URIScheme / nntp.php
CommitLineData
f45a286b
AD
1<?php
2
3/**
4 * Validates nntp (Network News Transfer Protocol) as defined by generic RFC 1738
5 */
6class HTMLPurifier_URIScheme_nntp extends HTMLPurifier_URIScheme {
7
8 public $default_port = 119;
9 public $browsable = false;
10
f4f0f80d 11 public function doValidate(&$uri, $config, $context) {
f45a286b
AD
12 $uri->userinfo = null;
13 $uri->query = null;
14 return true;
15 }
16
17}
18
19// vim: et sw=4 sts=4