Uri resolve method that detects abnormal examples #13196
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
core-n
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by bsles...@gmail.com
Uri.resolve() implements RFC 3986 which says to treat "abnormal examples" [1] like this:
"../../../g" = "http://a/g"
It would be nice to have a way to detect bad URL's that look like this for reporting errors. Maybe: uri.resolvesAbnormally(base).
[1] http://tools.ietf.org/html/rfc3986#section-5.4.2
The text was updated successfully, but these errors were encountered: