Skip to content

Commit 414302d

Browse files
teradrive65kfabpot
authored andcommitted
[DependencyInjection][ErrorHandler][FrameworkBundle][HttpKernel][TwigBridge] Fix "a" before "URL"
1 parent 45f9070 commit 414302d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/RoutingExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getUrl(string $name, array $parameters = [], bool $schemeRelativ
5555
* saving the unneeded automatic escaping for performance reasons.
5656
*
5757
* The URL generation process percent encodes non-alphanumeric characters. So there is no risk
58-
* that malicious/invalid characters are part of the URL. The only character within an URL that
58+
* that malicious/invalid characters are part of the URL. The only character within a URL that
5959
* must be escaped in html is the ampersand ("&") which separates query params. So we cannot mark
6060
* the URL generation as always safe, but only when we are sure there won't be multiple query
6161
* params. This is the case when there are none or only one constant parameter given.

0 commit comments

Comments
 (0)