Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The example array of trusted host patterns seems to accept "example.org.evil.test" as trusted. Shouldn't there be dollar signs on the .org lines?
* $settings['trusted_host_patterns'] = array(
* '^example\.com$',
* '^.+\.example\.com$',
* '^example\.org',
* '^.+\.example\.org',
* );
Compact beta eval: This is API docs, unfrozen.
Comment | File | Size | Author |
---|---|---|---|
drupal-trusted-host-example.patch | 509 bytes | jacob.embree | |
Comments
Comment #1
jacob.embree CreditAttribution: jacob.embree commentedComment #2
jhodgdonYeah, good idea indeed!
Comment #3
alexpottCommitted 273e7fc and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.