revert previous fix - it didn't really help - pilot error :)
fixed up the URI parsing to deal with HTML5 partial paths with "#/" being ignored from query parameters