Skip to content
Permalink
Browse files

Add failing test case for false positive URL validation

with Kibana urls for instance
  • Loading branch information...
real34 committed Sep 19, 2017
1 parent 173293f commit 2edf49c1103905ad5bcbc693c486ac811b4633ea
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/TestCase/Validation/ValidationTest.php
@@ -2138,6 +2138,7 @@ public function testUrl()
$this->assertTrue(Validation::url('https://cakephp.org'));
$this->assertTrue(Validation::url('https://www.cakephp.org/somewhere#anchor'));
$this->assertTrue(Validation::url('https://192.168.0.1'));
$this->assertTrue(Validation::url('https://example.com/kibana/app/kibana#/dashboard/4422c500-8e1b?_g=()'));
$this->assertTrue(Validation::url('ftps://www.cakephp.org/pub/cake'));
$this->assertTrue(Validation::url('ftps://cakephp.org/pub/cake'));
$this->assertTrue(Validation::url('ftps://192.168.0.1/pub/cake'));

0 comments on commit 2edf49c

Please sign in to comment.
You can’t perform that action at this time.