Ejemplo n.º 1
0
 public function setUp()
 {
     parent::setUp();
     $this->filter = new HTMLPurifier_URIFilter_DisableResources();
     $var = true;
     $this->context->register('EmbeddedURI', $var);
 }
Ejemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->filter = new HTMLPurifier_URIFilter_Munge();
 }
 function setUp()
 {
     parent::setUp();
     $this->filter = new HTMLPurifier_URIFilter_MakeAbsolute();
     $this->setBase();
 }
Ejemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->filter = new HTMLPurifier_URIFilter_HostBlacklist();
 }
 function setUp()
 {
     parent::setUp();
     $this->filter = new HTMLPurifier_URIFilter_DisableExternal();
 }