Skip to content

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

Merged
rfay merged 1 commit into
ddev:masterfrom
misterboe:master
Apr 30, 2018
Merged

rfay merged 1 commit into
ddev:masterfrom
misterboe:master

Conversation

@misterboe

@misterboe misterboe commented Apr 24, 2018 •

Copy link
Copy Markdown
Contributor

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.
```

@cweagans cweagans left a comment

Copy link
Copy Markdown
Contributor

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

@rfay rfay left a comment

Copy link
Copy Markdown
Member

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.

4 participants