diff options
author | jcid <devnull@localhost> | 2008-02-01 13:31:06 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-02-01 13:31:06 +0100 |
commit | 1482352505d2a5ba21f23af86fe7c03d346baa9d (patch) | |
tree | f4a6de01a8401efdebe64c7a828555584acdd34b /src | |
parent | 9fb546676e562a7eca8dc3ad73230b3be3daf5e8 (diff) |
added the missing \r\n to referer patch
Diffstat (limited to 'src')
-rw-r--r-- | src/IO/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IO/http.c b/src/IO/http.c index a9d11db7..dd5cf1b6 100644 --- a/src/IO/http.c +++ b/src/IO/http.c @@ -158,11 +158,11 @@ static char *Http_get_referer(const DilloUrl *url) if (!strcmp(prefs.http_referer, "host")) { referer = dStrconcat("Referer: ", URL_SCHEME(url), "://", - URL_AUTHORITY(url), "/", NULL); + URL_AUTHORITY(url), "/", "\r\n", NULL); } else if (!strcmp(prefs.http_referer, "path")) { referer = dStrconcat("Referer: ", URL_SCHEME(url), "://", URL_AUTHORITY(url), - URL_PATH_(url) ? URL_PATH(url) : "/", NULL); + URL_PATH_(url) ? URL_PATH(url) : "/", "\r\n", NULL); } if (!referer) referer = strdup(""); |