~julie-w/unifield-web/US-3030

« back to all changes in this revision

Viewing changes to openobject/tools/_utils.py

  • Committer: jf
  • Date: 2018-02-26 16:56:06 UTC
  • mfrom: (4891.2.2 unifield-web)
  • Revision ID: jfb@tempo-consulting.fr-20180226165606-wd0hx5qx9rpa188z
US-3799 [FIX] Export result: add custom filter to domain + escape special char in context

lp:~julie-w/unifield-web/US-3799

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                v = v.encode('utf-8')
42
42
            k = urllib.quote_plus(k)
43
43
            v = urllib.quote_plus(v)
 
44
        elif isinstance(v, dict):
 
45
            v = urllib.quote_plus('%s'%v)
44
46
 
45
47
        kv.append("%s=%s" % (k, v))
46
48