public function UrlValidatorTest::providerTestInvalidRelativeData

Provides invalid relative URLs.

File

drupal/core/tests/Drupal/Tests/Core/Common/UrlValidatorTest.php, line 133
Contains \Drupal\Tests\Core\Common\UrlValidatorTest.

Class

UrlValidatorTest
Tests URL validation by valid_url().

Namespace

Drupal\Tests\Core\Common

Code

public function providerTestInvalidRelativeData() {
  $data = array(
    'ex^mple',
    'example<>',
    'ex%ample',
  );
  return $this
    ->dataEnhanceWithPrefix($data);
}