Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/RedirectmanagerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function processRedirect($uri)
// Regex / wildcard match
if(preg_match("/^#(.+)#$/", $record['uri'], $matches)){
// no-op: all set to use the regex
}elseif(strpos($record['uri'], "*")){
}else{
// not necessary to replace / with \/ here, but no harm to it either
$record['uri'] = "#^".str_replace(array("*","/"), array("(.*)", "\/"), $record['uri']).'#';
}
Expand Down