Skip to content

Commit

Permalink
Update URLMap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tamagokun committed Mar 18, 2015
1 parent a7121e8 commit 54faa7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Rackem/URLMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ public function call($env)
{
list($host, $route, $match, $app) = $info;

if(!($host === $http_host || $host === $server_name || (!$host && ($http_host == $server_name || $http_host == "{$server_name}:{$port}"))))
continue;
// This causes more issues than anything. Not worth it right now.
//if(!($host === $http_host || $host === $server_name || (!$host && ($http_host == $server_name || $http_host == "{$server_name}:{$port}"))))
// continue;

$m = array();
if(!preg_match($match, $path, $m)) continue;
Expand Down

0 comments on commit 54faa7a

Please sign in to comment.