зеркало из https://github.com/Azure/AzureStor.git
fix add_sas
This commit is contained in:
Родитель
19b6445665
Коммит
4d6f78a921
|
@ -1,6 +1,6 @@
|
|||
Package: AzureStor
|
||||
Title: Storage Management in 'Azure'
|
||||
Version: 3.6.0
|
||||
Version: 3.6.0.9000
|
||||
Authors@R: c(
|
||||
person("Hong", "Ooi", , "hongooi73@gmail.com", role = c("aut", "cre")),
|
||||
person("Microsoft", role="cph")
|
||||
|
|
4
NEWS.md
4
NEWS.md
|
@ -1,3 +1,7 @@
|
|||
# AzureStor 3.6.0.9000
|
||||
|
||||
- Fix an issue when authenticating with a SAS and the connection is retried.
|
||||
|
||||
# AzureStor 3.6.0
|
||||
|
||||
- Add a `storage_dir_exists` generic to check for existence of a directory. This dispatches to the service-specific methods `blob_dir_exists`, `azure_dir_exists` and `adls_dir_exists`.
|
||||
|
|
|
@ -114,7 +114,7 @@ validate_token <- function(token)
|
|||
add_sas <- function(sas, url)
|
||||
{
|
||||
full_url <- httr::build_url(url)
|
||||
paste0(full_url, if(is.null(url$query)) "?" else "&", sub("^\\?", "", sas))
|
||||
httr::parse_url(paste0(full_url, if(is.null(url$query)) "?" else "&", sub("^\\?", "", sas)))
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче