mirror of https://github.com/adamdruppe/arsd.git
ghandle order of stuff
This commit is contained in:
parent
4b91ff49b5
commit
279823ec7a
1
cgi.d
1
cgi.d
|
@ -1708,6 +1708,7 @@ class Cgi {
|
||||||
remoteAddress = value;
|
remoteAddress = value;
|
||||||
}
|
}
|
||||||
else if (name == "x-forwarded-host" || name == "host") {
|
else if (name == "x-forwarded-host" || name == "host") {
|
||||||
|
if(name != "host" || host is null)
|
||||||
host = value;
|
host = value;
|
||||||
}
|
}
|
||||||
else if (name == "accept-encoding") {
|
else if (name == "accept-encoding") {
|
||||||
|
|
Loading…
Reference in New Issue