Skip to content

Commit 493f298

Browse files
committed
remove url-safe comment
1 parent 0a35de0 commit 493f298

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/HttpFoundation/UriSigner.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ private function doVerify(string $uri): int
193193
$hash = $params[$this->hashParameter];
194194
unset($params[$this->hashParameter]);
195195

196-
// In 8.0, remove support for non-url-safe tokens
197196
if (!hash_equals($this->computeHash($this->buildUrl($url, $params)), strtr(rtrim($hash, '='), ['/' => '_', '+' => '-']))) {
198197
return self::STATUS_INVALID;
199198
}

0 commit comments

Comments
 (0)