You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tested RCGLS::download_CGLS_data() and readLines(con) returned an error: invalid url. This happens when the user and/or password contains special characters like "@" or "#" which have to be percent-encoded. I suggest to change url <- paste0("https://", paste(username, password, sep = ":"), product.link) to url <- paste0("https://", paste(URLencode(username), URLencode(password), sep = ":"), product.link).
The text was updated successfully, but these errors were encountered:
Hi,
I just tested
RCGLS::download_CGLS_data()
andreadLines(con)
returned an error: invalid url. This happens when the user and/or password contains special characters like "@" or "#" which have to be percent-encoded. I suggest to changeurl <- paste0("https://", paste(username, password, sep = ":"), product.link)
tourl <- paste0("https://", paste(URLencode(username), URLencode(password), sep = ":"), product.link)
.The text was updated successfully, but these errors were encountered: