Branch: Tag:

2008-12-11

2008-12-11 17:25:12 by Jonas Wallden <jonasw@roxen.com>

Remove redundant lower_case() since host was already lowercased earlier.

Rev: server/base_server/roxen.pike:1.1005

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1004 2008/12/11 17:17:58 jonasw Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1005 2008/12/11 17:25:12 jonasw Exp $";      //! @appears roxen   //!
2552:    url = lower_case( url );    Standards.URI ui = Standards.URI(url);    ui->fragment = 0; -  if (lower_case(ui->host) == "any" || ui->host == "::") +  if (ui->host == "any" || ui->host == "::")    ui->host = "*";       string host = ui->host;
2626:    (string) ui );    return 0;    } -  if (lower_case(ui->host) == "any" || ui->host == "::") +  if (ui->host == "any" || ui->host == "::")    ui->host = "*";       protocol = ui->scheme;