in reply to Re^3: splitting a string that appears inconsistently in structure
in thread splitting a string that appears inconsistently in structure

That leaves the URI.

For the sake of precision, by the by, it's not really a URI we've got here, it's just the path/query bit of it. But uri_split() does the right thing.