$urlget() does not process relative redirects properly.
Thanks for testing these out.
Fixing these has turned out to be more complicated than I expected. I am trying to use standard windows APIs for URL parsing but their limitation means that I need to either write my own custom URL parsing routine, which is not advisable, or use a URL parsing library, of which many exist at differing levels of sophistication and size, ranging from tens of lines to thousands of lines of code. In addition, it's hard to know how well-tested these libraries are. Some of them implement recent security fixes.
As for relative redirects, again, I really should be using rfc-compatible, established, tested code instead of writing my own. I will need to look into this.