diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-07-04 18:14:13 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-07-04 18:14:13 +0200 |
| commit | 780ae8a808697cc156549e532614f8536cef2b1b (patch) | |
| tree | 3a5865d782dab6e03f9e58314f81508bef161c61 /addons/web/controllers | |
| parent | 680ab988607967a2503ae5a1abeabf899ff40477 (diff) | |
| parent | 10cb34bcacc0983cdab722e528d413a996df3a7b (diff) | |
[MERGE] forward port branch saas-15 up to 10cb34bcacc
Diffstat (limited to 'addons/web/controllers')
| -rw-r--r-- | addons/web/controllers/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 2cd2c2ac7da..5c3fc9f9e50 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1012,6 +1012,8 @@ class Binary(http.Controller): elif status != 200 and download: return request.not_found() + height = int(height) + width = int(width) if content and (width or height): # resize maximum 500*500 if width > 500: |
