Skip to content

Commit

Permalink
URLencode() only the user name
Browse files Browse the repository at this point in the history
  • Loading branch information
hsonne committed Jul 16, 2024
1 parent 70bc792 commit 8d24709
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------------------------------
Expand Down

0 comments on commit 8d24709

Please sign in to comment.