Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Routing] fix Route recompilation when hostname changed

  • Loading branch information...
commit acf8a704208d91f33f7ab47a23e935d8c0a3e0fa 1 parent 00d132a
@Tobion Tobion authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/Symfony/Component/Routing/Route.php
View
1  src/Symfony/Component/Routing/Route.php
@@ -149,6 +149,7 @@ public function getHostnamePattern()
public function setHostnamePattern($pattern)
{
$this->hostnamePattern = (string) $pattern;
+ $this->compiled = null;
return $this;
}

2 comments on commit acf8a70

@vicb

What about updating unit tests ?

@Tobion
Collaborator

Well, one would need to test this for each method (an easy but drudging task ^^)

Please sign in to comment.
Something went wrong with that request. Please try again.