------------------------------------------------------------ revno: 199 committer: Julien Danjou <jul...@danjou.info> branch nick: elpa timestamp: Thu 2012-04-19 10:28:03 +0200 message: * packages/oauth2/oauth2.el: Fix URL double escaping, update to 0.3 modified: packages/oauth2/oauth2.el
=== modified file 'packages/oauth2/oauth2.el' --- a/packages/oauth2/oauth2.el 2011-12-20 10:33:00 +0000 +++ b/packages/oauth2/oauth2.el 2012-04-19 08:28:03 +0000 @@ -3,7 +3,7 @@ ;; Copyright (C) 2011 Free Software Foundation, Inc ;; Author: Julien Danjou <jul...@danjou.info> -;; Version: 0.2 +;; Version: 0.3 ;; Keywords: comm ;; This file is part of GNU Emacs. @@ -192,7 +192,8 @@ (url-request-extra-headers request-extra-headers) (url-buffer)) (setq url-buffer (url-retrieve-synchronously - (oauth2-url-append-access-token token url))) + (url-generic-parse-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)))))