Displaying 1 result from an estimated 1 matches for "8f270f6ac6fe3260f52293ea1d911093".
2015 Jan 11
0
Bug in URLencode and patch
...en though the
URLs are substantively the same. Here's a trivial example using just a
colon:
library("digest")
URLencode(":", reserved = TRUE)
# [1] "%3a"
digest("%3a")
# [1] "77fff19a933ae715d006469545892caf"
digest("%3A")
# [1] "8f270f6ac6fe3260f52293ea1d911093"
As an aside, I know that RCurl::curlEscape implements this correctly,
but I don't see any reason why URLencode shouldn't comply with RFC
3986.
The fix should be relatively simple. Here's updated code for URLencode
that simply adds a call to `toupper`:
function (URL, reserved =...