diff --git a/core/lib/Drupal/Core/EventSubscriber/LanguageRequestSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/LanguageRequestSubscriber.php index 0969223..9a05a28 100644 --- a/core/lib/Drupal/Core/EventSubscriber/LanguageRequestSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/LanguageRequestSubscriber.php @@ -14,7 +14,7 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** - * Sets the $request proprerty on the language manager. + * Sets the $request property on the language manager. */ class LanguageRequestSubscriber implements EventSubscriberInterface { diff --git a/core/modules/language/language.negotiation.inc b/core/modules/language/language.negotiation.inc index ce0f1dc..280caf9 100644 --- a/core/modules/language/language.negotiation.inc +++ b/core/modules/language/language.negotiation.inc @@ -1,5 +1,7 @@ getPathInfo(), '/')); list($language, $path) = language_url_split_prefix($request_path, $languages); - // Store the correct system path, i.e., minus the path prefix. + // Store the correct system path, i.e., the request path without the + // language prefix. _language_resolved_path($path); if ($language !== FALSE) {