Skip to content

Commit 6f43f84

Browse files
authored
Add another invalid character
This time I went through and tried every "special" character I think of, including emojis, and the asterisk is the only one that caused a Jackrabbit error.
1 parent 4c008e7 commit 6f43f84

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)