Skip to content

Commit

Permalink
changed: mark udf:// paths as having parent in hostname as they do
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus committed Nov 12, 2012
1 parent 0bb64e3 commit 00d3aba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion xbmc/filesystem/UDFDirectory.cpp
Expand Up @@ -44,7 +44,6 @@ bool CUDFDirectory::GetDirectory(const CStdString& strPath,
CURL url(strPath);

CStdString strDirectory = url.GetHostName();
CURL::Decode(strDirectory);

udf25 udfIsoReader;
udf_dir_t *dirp = udfIsoReader.OpenDir(strDirectory);
Expand Down
2 changes: 0 additions & 2 deletions xbmc/filesystem/UDFFile.cpp
Expand Up @@ -50,8 +50,6 @@ bool CUDFFile::Open(const CURL& url)
{
CStdString strFName = url.GetHostName();

CURL::Decode(strFName);

m_hFile = m_udfIsoReaderLocal.OpenFile((char*)strFName.c_str());
if (m_hFile == INVALID_HANDLE_VALUE)
{
Expand Down
3 changes: 2 additions & 1 deletion xbmc/utils/URIUtils.cpp
Expand Up @@ -231,7 +231,8 @@ bool URIUtils::ProtocolHasParentInHostname(const CStdString& prot)
{
return prot.Equals("zip")
|| prot.Equals("rar")
|| prot.Equals("bluray");
|| prot.Equals("bluray")
|| prot.Equals("udf");
}

bool URIUtils::ProtocolHasEncodedHostname(const CStdString& prot)
Expand Down

0 comments on commit 00d3aba

Please sign in to comment.