turns out it wasn't a bug in the url crate, it was just stupidity on the part of the url standard from the whatwg. (Yes, I realize there's probably a good reason for it, that just doesn't make me any more happy about having to deal with it. *UNCLEAN*)