Skip to content

Commit 4c008e7

Browse files
authored
Merge pull request #437 from UFTimmy/patch-2
Add another invalid character
2 parents c6c5c8b + a5e1868 commit 4c008e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Doctrine/Phpcr/RouteProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct(
6464
*/
6565
public function getCandidates(Request $request)
6666
{
67-
$invalidCharacters = [':', '[', ']'];
67+
$invalidCharacters = [':', '[', ']', '|'];
6868
foreach ($invalidCharacters as $invalidCharacter) {
6969
if (false !== strpos($request->getPathInfo(), $invalidCharacter)) {
7070
return [];

0 commit comments

Comments
 (0)