rurl 1.2.0
Dependencies
punycoder(used for IDNA/Punycode encoding and decoding) is now on CRAN.
DESCRIPTIONrequirespunycoder (>= 1.0.0).
Behavior changes
- The package-wide default for
case_handlingis now"lower_host"(was
"keep"forsafe_parse_url(),safe_parse_urls(),get_clean_url(), and
theget_*()accessors, and"lower"forget_path()). This is the
RFC 3986 §6.2.2.1 normalization: the case-insensitive scheme and host fold to
lowercase while the case-sensitive path is preserved. With the previous
defaults, hosts such asWWW.Example.COMandwww.example.comdid not fold
to one identity, andget_path()silently lowercased paths (two pages that
differ only by path casing collapsed to one). Passcase_handling = "keep"
to restore the previous reconstruction, or"lower"to lowercase the whole
URL including the path. (RURL-lzepdnmm)
Available on CRAN: https://CRAN.R-project.org/package=rurl