Skip to content

Commit

Permalink
Removing runserver uri parsing check for IP only syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
grugnog committed May 21, 2013
1 parent 0ebc9a8 commit f000ff5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions commands/runserver/runserver.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,6 @@ function runserver_parse_uri($uri) {
$uri['port'] = $uri['path'];
unset($uri['path']);
}
else if (filter_var($uri['path'], FILTER_VALIDATE_IP)) {
// IP only shorthand.
$uri['host'] = $uri['path'];
unset($uri['path']);
}
}
if (isset($uri['host']) && $uri['host'] == 'placeholder-hostname') {
unset($uri['host']);
Expand Down

0 comments on commit f000ff5

Please sign in to comment.