This commit is contained in:
@@ -557,7 +557,8 @@ auto get_free_drive_space(std::string_view path)
|
||||
throw utils::error::create_exception({
|
||||
function_name,
|
||||
"failed to validate path",
|
||||
"parent paths are not the same" smb_path,
|
||||
"parent paths are not the same",
|
||||
smb_path,
|
||||
path,
|
||||
});
|
||||
}
|
||||
@@ -691,6 +692,8 @@ auto get_free_drive_space(std::string_view path)
|
||||
|
||||
auto smb_get_uri_path(std::string_view smb_path, std::string_view user,
|
||||
std::string_view password) -> std::string {
|
||||
REPERTORY_USES_FUNCTION_NAME();
|
||||
|
||||
if (not validate_smb_path(smb_path)) {
|
||||
throw utils::error::create_exception({
|
||||
function_name,
|
||||
|
||||
Reference in New Issue
Block a user