Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 493f298

Browse filesBrowse files
committed
remove url-safe comment
1 parent 0a35de0 commit 493f298
Copy full SHA for 493f298

File tree

1 file changed

+0
-1
lines changed
Filter options

1 file changed

+0
-1
lines changed

‎src/Symfony/Component/HttpFoundation/UriSigner.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/UriSigner.php
-1
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.