Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed: Ticket #11291 - Can't get http data when set referer to ""

  • Loading branch information...
commit c332e76cd9eeba76f77446e2d7378ff275ffbc4e 1 parent 0897223
@taxigps taxigps authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/filesystem/FileCurl.cpp
View
2  xbmc/filesystem/FileCurl.cpp
@@ -438,7 +438,7 @@ void CFileCurl::SetCommonOptions(CReadState* state)
g_curlInterface.easy_setopt(h, CURLOPT_REFERER, m_referer.c_str());
else
{
- g_curlInterface.easy_setopt(h, CURLOPT_REFERER, "");
+ g_curlInterface.easy_setopt(h, CURLOPT_REFERER, NULL);
g_curlInterface.easy_setopt(h, CURLOPT_AUTOREFERER, TRUE);
}
Please sign in to comment.
Something went wrong with that request. Please try again.