Skip to content

Conversation

@MGatner
Copy link
Member

@MGatner MGatner commented May 4, 2021

Description
"Stage two" of URI changes, this PR backs off some of the heavy-handed coercing that URI::__toString() does to create "project URLs". IMO URI should not be in the business of dealing with baseURL at all, but since this is currently the case we can't remove it entirely. Also improves IncomingRequest's interactions with URI to detect the "current" URL, and fixes a bug where scheme inconsistencies could create looping redirects.

Note: This PR relies on #4644

Checklist:

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

This was referenced May 5, 2021
@MGatner
Copy link
Member Author

MGatner commented May 5, 2021

Rerunning now that stage one is merged. @lonnieezell did you get a chance to look at this one yet? Has implications for the URL discussion...

@lonnieezell
Copy link
Member

Yeah, I didn't have any problems with this one. Good to go as far as I'm concerned.

@MGatner MGatner merged commit 1472864 into codeigniter4:develop May 5, 2021
@MGatner MGatner deleted the uri-internal branch May 5, 2021 15:14
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.

2 participants