diff options
| author | Ib Lundgren <ib.lundgren@gmail.com> | 2014-10-16 09:52:38 +0100 |
|---|---|---|
| committer | Ib Lundgren <ib.lundgren@gmail.com> | 2014-10-16 09:52:38 +0100 |
| commit | d2c61a4e80f8defc00ea5675236a83f9884d752d (patch) | |
| tree | bb01e4e3f6f806e31d43d2a5a1fc62d416e61482 | |
| parent | 201f9f00ff176c6105142d63b33c85127983b011 (diff) | |
| parent | 8f57459fbbab1f317d5475f31f90b1a75016a2a8 (diff) | |
| download | oauthlib-d2c61a4e80f8defc00ea5675236a83f9884d752d.tar.gz | |
Merge pull request #280 from djpnewton/patch-1
fix add_params_to_uri() fragment bug
| -rw-r--r-- | oauthlib/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/common.py b/oauthlib/common.py index b200a9a..d251a9b 100644 --- a/oauthlib/common.py +++ b/oauthlib/common.py @@ -281,7 +281,7 @@ def add_params_to_uri(uri, params, fragment=False): """Add a list of two-tuples to the uri query components.""" sch, net, path, par, query, fra = urlparse.urlparse(uri) if fragment: - fra = add_params_to_qs(query, params) + fra = add_params_to_qs(fra, params) else: query = add_params_to_qs(query, params) return urlparse.urlunparse((sch, net, path, par, query, fra)) |
