You are here

public function ResponseHeaderBagTest::provideMakeDispositionFail in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/ResponseHeaderBagTest.php, line 296

Class

ResponseHeaderBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function provideMakeDispositionFail() {
  return array(
    array(
      'attachment',
      'foo%20bar.html',
    ),
    array(
      'attachment',
      'foo/bar.html',
    ),
    array(
      'attachment',
      '/foo.html',
    ),
    array(
      'attachment',
      'foo\\bar.html',
    ),
    array(
      'attachment',
      '\\foo.html',
    ),
    array(
      'attachment',
      'föö.html',
    ),
  );
}