Skip to content

Commit a5e1868

Browse files
authored
Add another invalid character
As it turns out, the pipe character also causes Jackrabbit errors.
1 parent c6c5c8b commit a5e1868

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)