server/virtualenv/web/res/patch/oauth2.diff
author durandn
Wed, 09 Sep 2015 17:48:05 +0200
changeset 115 5b3afe8c5592
parent 3 fc0f3e398166
permissions -rw-r--r--
Adjustments on Markers: user can't post new marker if too close to another one + clicking the create button will create a "placeholder" marker to show where the marker will be posted

diff -r 7ea87e3229fd5c4eebd0 oauth2/__init__.py
@@ -385,386 +385,391 @@
        url_items = self._split_url_string(query).items()
        non_oauth_url_items = list([(k, v) for k, v in url_items  if not k.startswith('oauth_')])
        
-       items.extend(non_oauth_url_items)
+       for (key,value) in non_oauth_url_items:
+           if (key,value) not in items:
+               items.append((key,value))
    
        encoded_str = urllib.urlencode(sorted(items))