You are here

public function RequestTest::urlencodedStringPrefixData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::urlencodedStringPrefixData()

File

vendor/symfony/http-foundation/Tests/RequestTest.php, line 1526

Class

RequestTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function urlencodedStringPrefixData() {
  return array(
    array(
      'foo',
      'foo',
      'foo',
    ),
    array(
      'fo%6f',
      'foo',
      'fo%6f',
    ),
    array(
      'foo/bar',
      'foo',
      'foo',
    ),
    array(
      'fo%6f/bar',
      'foo',
      'fo%6f',
    ),
    array(
      'f%6f%6f/bar',
      'foo',
      'f%6f%6f',
    ),
    array(
      '%66%6F%6F/bar',
      'foo',
      '%66%6F%6F',
    ),
    array(
      'fo+o/bar',
      'fo+o',
      'fo+o',
    ),
    array(
      'fo%2Bo/bar',
      'fo+o',
      'fo%2Bo',
    ),
  );
}