diff --git a/R/utils.R b/R/utils.R index 3463be7..1d8d64e 100644 --- a/R/utils.R +++ b/R/utils.R @@ -124,8 +124,7 @@ path_to_file_href <- function( ) { base_url <- webdav_base_url(leading_slash = leading_slash) - href <- file.path(base_url, "files", user, path) - utils::URLencode(href) + file.path(base_url, "files", utils::URLencode(user), path) } # rename_properties ------------------------------------------------------------