OK. Nice to be able to simplify things a bit :-)

It was years ago now but I definitely solved a UriFormatException by switching to that custom function; I must have inadvertently changed something else too and made the wrong conclusion about what had caused the problem! Still, why call your parameter "relativeURL" if it doesn't have to be a relative URL?... tut tut Microsoft, but I really should have read the extra remarks that explain the unintuitive behaviour.

I'll do some tests on the merged version by the weekend and hopefully be able to release a new version soon.

Thanks again!