> Given the circumstances, I suggest a condition at this point checking
for
> /^[-+.\w]+:/ (that is, has a URI scheme) and indicate failure (i.e.
return
> something like "data:,Failed%20to%20resolve%20" + test) otherwise.
That'll at
> least make it never return nonsense.
On 2015/02/16 00:11:09, MarkM wrote:
> On 2015/02/15 22:15:54, kpreid2 wrote:
> > I don't like that this as it is behaves oppositely to normal
relative URI
> > resolution.
> What would you suggest instead?
My next paragraph, which you have already implemented, was my
suggestion.