public function LegacyApacheMatcherDumperTest::testEscapeScriptName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php \Symfony\Component\Routing\Tests\Matcher\Dumper\LegacyApacheMatcherDumperTest::testEscapeScriptName()
File
- vendor/
symfony/ routing/ Tests/ Matcher/ Dumper/ LegacyApacheMatcherDumperTest.php, line 58
Class
- LegacyApacheMatcherDumperTest
- @group legacy
Namespace
Symfony\Component\Routing\Tests\Matcher\DumperCode
public function testEscapeScriptName() {
$collection = new RouteCollection();
$collection
->add('foo', new Route('/foo'));
$dumper = new ApacheMatcherDumper($collection);
$this
->assertStringEqualsFile(self::$fixturesPath . '/dumper/url_matcher2.apache', $dumper
->dump(array(
'script_name' => 'ap p_d\\ ev.php',
)));
}