Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Trusted hosts pattern for TYPO3, for #680 #808

Merged
merged 1 commit into from
Apr 30, 2018
Merged

[BUGFIX] Trusted hosts pattern for TYPO3, for #680 #808

merged 1 commit into from
Apr 30, 2018

Conversation

misterboe
Copy link
Contributor

@misterboe misterboe commented Apr 24, 2018

Problem:
The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'website.ddev.local:8080' for your installation.

[edited by rfay]
This fixes half of #680 - support trusted hosts patterns for both TYPO3 and Drupal8

Problem:
```
The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'website.ddev.local:8080' for your installation.
```
Copy link
Contributor

@cweagans cweagans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable, but I don't know the implications of this as it relates to Typo3. Approving, but also leaving it open for another review before merging.

@rfay rfay changed the title [BUGFIX] Trusted hosts pattern [BUGFIX] Trusted hosts pattern for TYPO3, for #680 Apr 30, 2018
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this and it seems to do exactly what we've been wanting.

It still does not work when the port is not port 80, but I think that's a problem TYPO3 has with all proxied environments. Let's get it in. THANKS @misterboe !

@rfay rfay merged commit 996b8c4 into ddev:master Apr 30, 2018
@rickmanelius rickmanelius added this to the v0.18.0 milestone May 7, 2018
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.

None yet

4 participants