Skip to content

Conversation

@MGatner
Copy link
Member

@MGatner MGatner commented May 6, 2021

Description
Stage One of an alternative to #4647, this PR refactors how IncomingRequest detects the "current URI" so that dependent functions and classes (namely, url_helper.php) will be more accurate.

Note that some tests will likely fail due to #4116 (which has been deemed a bug) and will need to be updated. This likely means some developers will have issues as we work out this long-standing problem. (This will be a different PR)

Fixes #3976

Note to reviewers: I reorganized the IncomingRequest class to a more logical order, which will make a mess of the review. Please view the first commit for a more helpful comparison.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@MGatner MGatner merged commit 44621eb into codeigniter4:develop May 11, 2021
@MGatner MGatner deleted the get-uri branch May 11, 2021 11:32
@paulbalandan paulbalandan removed their request for review February 16, 2023 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parseRequestURI dose not override globals['server'] ?

3 participants