diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-01-31 14:00:11 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-01-31 14:00:11 +0100 |
| commit | 18ef095afd5ecdb56085a41dc7c846f02245ea5f (patch) | |
| tree | 0e185ff757b975719a7960424a519633602de7f5 /addons/pad/web/controllers.py | |
| parent | 6c66dad0f921cb84676a42a71be59f045a2eb1de (diff) | |
[FIX] encoding error when using special characters in pad name
bzr revid: fme@openerp.com-20110131130011-qhpn6x4kwal9zs5t
Diffstat (limited to 'addons/pad/web/controllers.py')
| -rw-r--r-- | addons/pad/web/controllers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/pad/web/controllers.py b/addons/pad/web/controllers.py index 1553d721303..9c439f1e656 100644 --- a/addons/pad/web/controllers.py +++ b/addons/pad/web/controllers.py @@ -26,6 +26,7 @@ class Piratepad(openerp.controllers.SecuredController): default_res_model=params.model, default_res_id=params.id, active_id=False, active_ids=[]) + pad_name = pad_name.decode('utf8') pad_link = self.make_url(pad_name) attachment_id = rpc.RPCProxy('ir.attachment').create({ 'name': pad_name, |
