Skip to content

Updated custom request overrides to better match original intent - #3364

Merged
ssddanbrown merged 3 commits into
developmentfrom
app_url_requests
Apr 24, 2022
Merged

ssddanbrown merged 3 commits into
developmentfrom
app_url_requests

Conversation

@ssddanbrown

@ssddanbrown ssddanbrown commented Apr 2, 2022

Copy link
Copy Markdown
Member

This updates the custom Request handler to provide only the scheme and host on the getSchemeAndHttpHost call, instead of providing the whole APP_URL value, while adding an override to the 'getBaseUrl' to use the APP_URL content instead of the guessed/detected Symfony value.

Untested apart from simple local setup.

Related to #2765

Testing Plan

We'd need to test a variety of environments this may affect. All as a sub-path:

  • Nginx proxy to docker.
  • Apache proxy to docker.
  • Nginx proxy to self.
  • Apache subdirectory alias.

Docs Update

Should hopefully not affect anyone but might be prudent to add an update warning just in case it has side affects in some specific scenarios.

This updates the custom Request handler to provide only the scheme and
host on the `getSchemeAndHttpHost` call, instead of providing the whole
APP_URL value, while adding an override to the 'getBaseUrl' to use the
APP_URL content instead of the guessed/detected Symfony value.

Untested apart from simple local setup.

Related to #2765
@ssddanbrown
ssddanbrown merged commit 63cb601 into development Apr 24, 2022
@ssddanbrown
ssddanbrown deleted the app_url_requests branch April 24, 2022 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant