aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-06-26 15:35:48 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-06-26 16:34:17 +0200
commitd9ae2e1a337ede0ae4b09fb737b40393e66b5be1 (patch)
tree8121404de5283606d0071023536c58cac5153f2e
parent22c6c54e46070364ad5553d0ca84b500483e7ebe (diff)
downloadRouter-d9ae2e1a337ede0ae4b09fb737b40393e66b5be1.zip
Router-d9ae2e1a337ede0ae4b09fb737b40393e66b5be1.tar.gz
Router-d9ae2e1a337ede0ae4b09fb737b40393e66b5be1.tar.bz2
Subdomain suffix is no longer considered as regex.
-rw-r--r--Http.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http.php b/Http.php
index 1ce8c31..4e1b0e8 100644
--- a/Http.php
+++ b/Http.php
@@ -797,7 +797,7 @@ class Http extends Generic implements \Hoa\Core\Parameter\Parameterizable {
public function setSubdomainSuffix ( $suffix ) {
$old = $this->_subdomainSuffix;
- $this->_subdomainSuffix = $suffix;
+ $this->_subdomainSuffix = preg_quote($suffix);
return $old;
}