\Drupal::request()->getRequestUri(); not refreshing parameters

Created on 30 April 2024, 9 months ago

Problem/Motivation

Hello

\Drupal::request()->getRequestUri(); does not refresh each time I change parameters like for example mysite.com/uri?page=1 to mysite.com/uri?page=2 the result is always mysite.com/uri I cannot find any solution.

I also tried $_SERVER['REQUEST_URI'].

💬 Support request
Status

Active

Version

10.3

Component
Browser 

Last updated 17 days ago

No maintainer
Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @eydouu
  • Status changed to Closed: works as designed 17 days ago
  • 🇳🇿New Zealand quietone

    @webberly, as you can see by the lack of responses the Drupal Core issue queue is not the ideal place for support requests. The 'support request' option is there for filing support issues for contributed modules and themes.

    There are several support options listed on our support page (Community > Support at the top of Drupal.org) and there is Drupal Slack . You may get better replies in one of those places.

Production build 0.71.5 2024