summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/data_export.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2019-09-13 10:10:46 +0000
committerXavier Morel <xmo@odoo.com>2019-09-13 10:15:20 +0000
commit39d66dba59969283ae40d1e83c1878afead125a7 (patch)
tree6e208435cddbcd6a6d02857ced3d0554fa489e0e /addons/web/static/src/js/widgets/data_export.js
parentf58368210c9c962c84cdcd2e2a799c5fc6183a13 (diff)
[FIX] base_import: improve image feedback & remove image URL restriction
* If the item is not an acceptable URL, check if it's base64 and return an error if it's not, otherwise it just ends up blowing later when the content of the field is assumed to be base64 and explodes * The URL having to contain png or jpg or tiff or gif or bmp doesn't make much sense (especially in this modern world where placekitten.com doesn't add extensions, not to mention this doesn't actually check for extensions). After discussing with odo it doesn't seem to have any security impact, the only thing this filter does is annoy people for no reason.
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
0 files changed, 0 insertions, 0 deletions