mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
nhttpd: exchange encode with outValur for right UTF-8 in file API name
field. Used by WebKit. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1686 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user