Fix CURL::GetWithoutFilename to not break the URL string when the domain
authorgroth-its <groth-its@svn>
Fri, 14 Feb 2014 03:52:44 +0000 (04:52 +0100)
committergroth-its <groth-its@svn>
Fri, 14 Feb 2014 03:52:44 +0000 (04:52 +0100)
is supplied.

xbmc/URL.cpp

index 8d48b1d..b2bd057 100644 (file)
@@ -634,7 +634,8 @@ CStdString CURL::GetWithoutFilename() const
     strURL += m_strDomain;
     strURL += ";";
   }
-  else if (m_strUserName != "")
+
+  if (m_strUserName != "")
   {
     strURL += Encode(m_strUserName);
     if (m_strPassword != "")