ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
mailto.php
Go to the documentation of this file.
1
<?php
2
3
// VERY RELAXED! Shouldn't cause problems, not even Firefox checks if the
4
// email is valid, but be careful!
5
12
class
HTMLPurifier_URIScheme_mailto
extends
HTMLPurifier_URIScheme
{
13
14
public
$browsable
=
false
;
15
16
public
function
validate
(&$uri,
$config
, $context) {
17
parent::validate
($uri,
$config
, $context);
18
$uri->userinfo = null;
19
$uri->host = null;
20
$uri->port = null;
21
// we need to validate path against RFC 2368's addr-spec
22
return
true
;
23
}
24
25
}
26
27
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
URIScheme
mailto.php
Generated on Mon Apr 25 2016 19:01:32 for ILIAS by
1.8.1.2 (using
Doxyfile
)