From af01dd2d824c10ccf233dac1ffb4b341763b4863 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 1 Jun 2012 17:41:30 +0000 Subject: [PATCH] Fix misspelling of the Referer HTTP header (issue #619). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@660 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- libcef/common/request_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcef/common/request_impl.cc b/libcef/common/request_impl.cc index 890f3d055..7ca0202df 100644 --- a/libcef/common/request_impl.cc +++ b/libcef/common/request_impl.cc @@ -138,7 +138,7 @@ void CefRequestImpl::Get(net::URLRequest* request) { } CefString referrerStr; - referrerStr.FromASCII("Referrer"); + referrerStr.FromASCII(net::HttpRequestHeaders::kReferer); HeaderMap headerMap = headermap_; HeaderMap::iterator it = headerMap.find(referrerStr); if (it == headerMap.end()) {