Skip to content

Commit

Permalink
tweaked previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Feb 1, 2013
1 parent 3fee9c0 commit 1758277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/UriSigner.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function sign($uri)
*/
public function check($uri)
{
if (!preg_match('/(.*)(?:\?|&)_hash=(.+?)$/', $uri, $matches)) {
if (!preg_match('/^(.*)(?:\?|&)_hash=(.+?)$/', $uri, $matches)) {
return false;
}

Expand Down

0 comments on commit 1758277

Please sign in to comment.