This commit is contained in:
Christian Grothoff 2020-01-19 20:37:12 +01:00
parent a0c6adfa49
commit bc812a0a51
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -100,7 +100,9 @@ TALER_url_absolute_mhd (struct MHD_Connection *connection,
else
proto = "http";
host = MHD_lookup_connection_value (connection, MHD_HEADER_KIND, "Host");
host = MHD_lookup_connection_value (connection,
MHD_HEADER_KIND,
"Host");
forwarded_host = MHD_lookup_connection_value (connection,
MHD_HEADER_KIND,
"X-Forwarded-Host");