Skip to content

Commit

Permalink
Change to allow str_pos to match when the exclude term is at the root…
Browse files Browse the repository at this point in the history
… of the path
  • Loading branch information
tonypartridge authored and tonypartridge committed Mar 24, 2018
1 parent b56a9d0 commit f6fd28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/redirect/redirect.php
Expand Up @@ -169,7 +169,7 @@ private static function doErrorHandling($error)
}
else
{
if (StringHelper::strpos($orgurlRel, $exclude->term))
if (StringHelper::strpos(' ' . $orgurlRel, $exclude->term))
{
$skipUrl = true;
break;
Expand Down

0 comments on commit f6fd28a

Please sign in to comment.