]> code.delx.au - gnu-emacs-elpa/commitdiff
* packages/oauth2/oauth2.el: Revert fix URL double escaping, update to 0.5
authorJulien Danjou <julien@danjou.info>
Tue, 29 May 2012 12:56:21 +0000 (14:56 +0200)
committerJulien Danjou <julien@danjou.info>
Tue, 29 May 2012 12:56:21 +0000 (14:56 +0200)
packages/oauth2/oauth2.el

index ff3c1624cd37ef9c13ed9269f9a2d3bdbe54db18..3f76a3d80bb886c6b5490043444821765f8ed624 100644 (file)
@@ -1,9 +1,9 @@
 ;;; oauth2.el --- OAuth 2.0 Authorization Protocol
 
-;; Copyright (C) 2011 Free Software Foundation, Inc
+;; Copyright (C) 2011-2012 Free Software Foundation, Inc
 
 ;; Author: Julien Danjou <julien@danjou.info>
-;; Version: 0.4
+;; Version: 0.5
 ;; Keywords: comm
 
 ;; This file is part of GNU Emacs.
@@ -192,8 +192,7 @@ TOKENS can be obtained with `oauth2-auth'."
             (url-request-extra-headers request-extra-headers)
             (url-buffer))
         (setq url-buffer (url-retrieve-synchronously
-                          (url-generic-parse-url
-                           (oauth2-url-append-access-token token url))))
+                           (oauth2-url-append-access-token token url)))
         (if tokens-need-renew
             (oauth2-url-retrieve-synchronously (oauth2-refresh-access token) url request-method request-data request-extra-headers)
           url-buffer)))))