When you create a new Uri like this:
New Uri(New Uri("http://example.com/test.php"),"?x=y")
it returns:
http://example.com/?x=y
It was supposed to return:
http://example.com/test.php?x=y
according to the every major browser out there (I'm not quite sure what RFC says though).
Is this is a bug or is there any other function out there which behaves correctly, also what's the best way to fix it without reinventing the wheel?