Skip to content
Snippets Groups Projects

Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers

Open Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers
2 unresolved threads
Open Ben Mullins requested to merge issue/drupal-2845319:2845319-the-highlighting-of into 9.3.x
2 unresolved threads
2 files
+ 1
13
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 41d155e2
    Issue #3266589 by idebr, mfb, longwave: Remove redundant Link canonical/shortlink response headers · 41d155e2
    catch authored
    (cherry picked from commit 32153203)
@@ -147,7 +147,6 @@ public function view(EntityInterface $_entity, $view_mode = 'full') {
'rel' => 'canonical',
'href' => $url->toString(),
],
TRUE,
];
// Set the non-aliased canonical path as a default shortlink.
@@ -156,7 +155,6 @@ public function view(EntityInterface $_entity, $view_mode = 'full') {
'rel' => 'shortlink',
'href' => $url->setOption('alias', TRUE)->toString(),
],
TRUE,
];
// Since this generates absolute URLs, it can only be cached "per site".
Loading