diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index faa91ec63..7e93fde6f 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -2712,7 +2712,7 @@ void CControlAPI::FileCGI(CyhookHandler *hh) { while ((entry = readdir(dirp))) { std::string item = ""; item += hh->outPair("name", - hh->outValue(encodeString(entry->d_name)), true); + hh->outValue(hh->outValue(entry->d_name)), true); std::string ftype; if (entry->d_type == DT_DIR) ftype = "dir";