Support raw query strings in the URI
This commit is contained in:
parent
435112fefe
commit
34cb21f4c0
|
@ -309,6 +309,9 @@ func Get(uri string) (*Response, error) {
|
||||||
if len(path) > 2 {
|
if len(path) > 2 {
|
||||||
Type = ItemType(path[0])
|
Type = ItemType(path[0])
|
||||||
Selector = path[1:]
|
Selector = path[1:]
|
||||||
|
if u.RawQuery != "" {
|
||||||
|
Selector += "\t" + u.RawQuery
|
||||||
|
}
|
||||||
} else if len(path) == 1 {
|
} else if len(path) == 1 {
|
||||||
Type = ItemType(path[0])
|
Type = ItemType(path[0])
|
||||||
Selector = ""
|
Selector = ""
|
||||||
|
|
Loading…
Reference in New Issue