public function RequestMatcherTest::testPathWithEncodedCharacters in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestMatcherTest.php \Symfony\Component\HttpFoundation\Tests\RequestMatcherTest::testPathWithEncodedCharacters()
File
- vendor/
symfony/ http-foundation/ Tests/ RequestMatcherTest.php, line 123
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testPathWithEncodedCharacters() {
$matcher = new RequestMatcher();
$request = Request::create('/admin/fo%20o');
$matcher
->matchPath('^/admin/fo o*$');
$this
->assertTrue($matcher
->matches($request));
}