aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2022-03-30 15:52:30 +0000
committerr <r@freesoftwareextremist.com>2022-03-30 15:52:30 +0000
commit2d49ff9fb4ea9b0e88df1621e954246bc1851de6 (patch)
tree9f156fa571beb14135dc5ab36030458dfc8ca4e5 /service
parentc390a0c32720f6afe852bc7a3a3f64c3afe9e401 (diff)
downloadbloat-2d49ff9fb4ea9b0e88df1621e954246bc1851de6.tar.gz
bloat-2d49ff9fb4ea9b0e88df1621e954246bc1851de6.zip
Switch to html/template
Diffstat (limited to 'service')
-rw-r--r--service/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/service.go b/service/service.go
index 64c7bf0..cda42f8 100644
--- a/service/service.go
+++ b/service/service.go
@@ -711,7 +711,7 @@ func (s *service) UserSearchPage(c *client,
if len(results.Statuses) == 20 {
offset += 20
nextLink = fmt.Sprintf("/usersearch/%s?q=%s&offset=%d", id,
- url.QueryEscape(q), offset)
+ q, offset)
}
if len(q) > 0 {
@@ -770,7 +770,7 @@ func (s *service) SearchPage(c *client,
(qType == "statuses" && len(results.Statuses) == 20) {
offset += 20
nextLink = fmt.Sprintf("/search?q=%s&type=%s&offset=%d",
- url.QueryEscape(q), qType, offset)
+ q, qType, offset)
}
if len(q) > 0 {