From 273e7fc42a65a5ee89cbe52f146a77f814917fb5 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Mon, 16 Feb 2015 14:51:09 +0000
Subject: [PATCH] Issue #2425739 by jacob.embree: Incorrect regex in
 trusted_host_patterns example

---
 sites/default/default.settings.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index ec5a709b70f9..d5d8704e03a5 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -628,8 +628,8 @@
  * $settings['trusted_host_patterns'] = array(
  *   '^example\.com$',
  *   '^.+\.example\.com$',
- *   '^example\.org',
- *   '^.+\.example\.org',
+ *   '^example\.org$',
+ *   '^.+\.example\.org$',
  * );
  * @endcode
  * will allow the site to run off of all variants of example.com and
-- 
GitLab