From 34cb21f4c03c41bc9505a7451e69d70b5d018e93 Mon Sep 17 00:00:00 2001 From: James Mills Date: Tue, 13 Jun 2017 01:27:01 -0700 Subject: [PATCH] Support raw query strings in the URI --- gopher.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gopher.go b/gopher.go index 393e983..9205c3f 100644 --- a/gopher.go +++ b/gopher.go @@ -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 = ""