Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no need to url encode query parameters when generating oauth signature

  • Loading branch information...
commit 8dd3ce8a01a3d014faa812ba5194dd08559227b1 1 parent 6400586
@kovcic kovcic authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/twitter.clj
View
9 src/twitter.clj
@@ -69,13 +69,6 @@ take any required and optional arguments and call the associated Twitter method.
((first x#)
rest-map#)})
optional-query-param-names-mapping#)))
- need-to-url-encode# (if (= :get ~req-method)
- (into {}
- (map (fn [[k# v#]]
- [k#
- (oauth.signature/url-encode v#)])
- query-params#))
- query-params#)
oauth-creds# (when (and *oauth-consumer*
*oauth-access-token*)
(oauth/credentials *oauth-consumer*
@@ -83,7 +76,7 @@ take any required and optional arguments and call the associated Twitter method.
*oauth-access-token-secret*
~req-method
req-uri#
- need-to-url-encode#))]
+ query-params#))]
(~handler (~(symbol "http" (name req-method))
req-uri#
:query (merge query-params#
Please sign in to comment.
Something went wrong with that request. Please try again.