Skip to content

Commit

Permalink
updates to prevent spaces in URL from throwing - No route could be fo…
Browse files Browse the repository at this point in the history
…und matching the callback warning
  • Loading branch information
matolsen committed Jun 29, 2015
1 parent 7f1ea5f commit 31b9f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Anchor.php
Expand Up @@ -1115,7 +1115,7 @@ public static function run($exit=TRUE)
$linkable
);

if ($callable === FALSE) {
if ($callable === FALSE || strpos($callable, ' ') !== FALSE) {
throw new AnchorNotFoundException();
}

Expand Down

0 comments on commit 31b9f62

Please sign in to comment.