changeset 0 | 87104b7cb3d6 |
-1:000000000000 | 0:87104b7cb3d6 |
---|---|
1 diff -r 7ea87e3229fd5c4eebd0 oauth2/__init__.py |
|
2 @@ -385,386 +385,391 @@ |
|
3 url_items = self._split_url_string(query).items() |
|
4 non_oauth_url_items = list([(k, v) for k, v in url_items if not k.startswith('oauth_')]) |
|
5 |
|
6 - items.extend(non_oauth_url_items) |
|
7 + for (key,value) in non_oauth_url_items: |
|
8 + if (key,value) not in items: |
|
9 + items.append((key,value)) |
|
10 |
|
11 encoded_str = urllib.urlencode(sorted(items)) |