CLOUD: Mark places where path handling is needed
This commit is contained in:
parent
126fe9c845
commit
dd9e5a95dc
6 changed files with 18 additions and 0 deletions
|
@ -127,6 +127,8 @@ void UploadFileClientHandler::handleBlockHeaders(Client *client) {
|
|||
if (filename.empty())
|
||||
return;
|
||||
|
||||
// TODO: handle <filename>, <path> + <filename>
|
||||
|
||||
// check that <path>/<filename> doesn't exist
|
||||
Common::String path = _parentDirectoryPath;
|
||||
if (path.lastChar() != '/' && path.lastChar() != '\\')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue