Skip to content

Commit

Permalink
maybe a fix for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
schochastics committed Sep 22, 2023
1 parent 2450f3a commit a38a589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion R/parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
#' @export
ada_url_parse <- function(url) {
url <- stringi::stri_enc_toutf8(url)
Rcpp_ada_parse(url, nchar(url))
url_parsed <- Rcpp_ada_parse(url, nchar(url, type = "bytes"))
lapply(url_parsed, URLdecode)
}
4 changes: 2 additions & 2 deletions man/ada_url_parse.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a38a589

Please sign in to comment.