|
|
@@ -1269,7 +1269,14 @@ ErrorCodeEnum CRemoteControllerCnn::HandleOperateDiskReq(const CSmartPointer<IPa
|
|
|
if (curTmp[0] == '/')
|
|
|
rvcReq.current = curTmp;
|
|
|
else
|
|
|
- rvcReq.current = CSimpleStringA("/") + curTmp;
|
|
|
+ {
|
|
|
+ std::string tmpStr = curTmp.GetData();
|
|
|
+ std::replace(tmpStr.begin(), tmpStr.end(), '\\', '/');
|
|
|
+ rvcReq.current = CSimpleStringA("/") + tmpStr.c_str();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
#endif
|
|
|
rvcReq.mode = req.mode;
|
|
|
rvcReq.attribute = req.attribute;
|