Support raw query strings in the URI

This commit is contained in:
James Mills 2017-06-13 01:27:01 -07:00
parent 435112fefe
commit 34cb21f4c0
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
1 changed files with 3 additions and 0 deletions

View File

@ -309,6 +309,9 @@ func Get(uri string) (*Response, error) {
if len(path) > 2 {
Type = ItemType(path[0])
Selector = path[1:]
if u.RawQuery != "" {
Selector += "\t" + u.RawQuery
}
} else if len(path) == 1 {
Type = ItemType(path[0])
Selector = ""