Commit 099d11a3 authored by catch's avatar catch
Browse files

Issue #2605388 by rakesh.gectcr, anil280988, mahavir003, aneeshthankachan:...

Issue #2605388 by rakesh.gectcr, anil280988, mahavir003, aneeshthankachan: Comment Typos in DrupalKernel.php
parent b9fbaf8f
...@@ -1393,7 +1393,7 @@ protected static function validateHostnameLength($host) { ...@@ -1393,7 +1393,7 @@ protected static function validateHostnameLength($host) {
* The request object * The request object
* *
* @return bool * @return bool
* TRUE if the hostmame is valid, or FALSE otherwise. * TRUE if the hostname is valid, or FALSE otherwise.
*/ */
public static function validateHostname(Request $request) { public static function validateHostname(Request $request) {
// $request->getHost() can throw an UnexpectedValueException if it // $request->getHost() can throw an UnexpectedValueException if it
...@@ -1419,7 +1419,7 @@ public static function validateHostname(Request $request) { ...@@ -1419,7 +1419,7 @@ public static function validateHostname(Request $request) {
* is possible to create an attack vectors against a site by overriding this. * is possible to create an attack vectors against a site by overriding this.
* Symfony provides a mechanism for creating a list of trusted Host values. * Symfony provides a mechanism for creating a list of trusted Host values.
* *
* Host patterns (as regular expressions) can be configured throught * Host patterns (as regular expressions) can be configured through
* settings.php for multisite installations, sites using ServerAlias without * settings.php for multisite installations, sites using ServerAlias without
* canonical redirection, or configurations where the site responds to default * canonical redirection, or configurations where the site responds to default
* requests. For example, * requests. For example,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment