Skip to content

Commit

Permalink
handle param escape later
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 16, 2023
1 parent cb64ae7 commit b4072f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ return static function (RoutingConfigurator $routingConfigurator): void {
$routingConfigurator->add('site_root', '/{siteId}')
->controller('AppBundle\Controller\Site\IndexController')
->requirements([
'siteId' => '\d+',
'siteId' => 'd+',
]);
};
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function testNormal(SplFileInfo $fixtureFileInfo): void
$temporaryPath . '/directory-with-unquoted-strings'
);

$this->doTestOutput($fixtureFileInfo);
$this->doTestOutput($fixtureFileInfo, false);
}

public static function provideData(): Iterator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@

$parameters->set('key', 'value');

$parameters->set('format', '\d+');
$parameters->set('format', 'd+');
};

0 comments on commit b4072f9

Please sign in to comment.