Skip to content

Commit

Permalink
fix query string splitting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Oct 3, 2013
1 parent d21a2ae commit 36dc049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/http.R
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ signatureHeaders <- function(authInfo, method, path, file) {
headers <- list()

# remove query string from path if necessary
path <- strsplit(path, "?", fixed = TRUE)[[1]]
path <- strsplit(path, "?", fixed = TRUE)[[1]][[1]]

# generate date
date <- strftime(Sys.time(), "%a, %d %b %Y %H:%M:%S GMT", tz = "GMT")
Expand Down

0 comments on commit 36dc049

Please sign in to comment.