Skip to content

Commit b01110f

Browse files
committed
[HTTP FS] don't replace '+' with a space in file name
1 parent 9c8b670 commit b01110f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/FileSystem/fnFsHTTP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ bool FileSystemHTTP::dir_open(const char *path, const char *pattern, uint16_t d
421421
// Set entry members
422422

423423
// file name
424-
strlcpy(fs_de->filename, mstr::urlDecode(dirEntryCursor->filename).c_str(), sizeof(fs_de->filename));
424+
strlcpy(fs_de->filename, mstr::urlDecode(dirEntryCursor->filename, false).c_str(), sizeof(fs_de->filename));
425425
fs_de->isDir = dirEntryCursor->isDir;
426426

427427
// file size

0 commit comments

Comments
 (0)