Fix validating slashes in URI path if host is empty
According the referenced source document at https://tools.ietf.org/html/rfc3986#section-3.3 to check the validity of GUri, the check for double slashes in the path
should be done only if host
is empty.
Fixes: #2301 (closed)
Edited by Philip Withnall