summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorVandan Shah <vas@odoo.com>2017-07-10 16:54:29 +0530
committerqsm-odoo <qsm@odoo.com>2017-08-18 11:41:28 +0200
commit886c07dabb636767b80abb8498509d98fc1acf8b (patch)
tree240a2801e6fe2d919c4cbd8899cc4d387ab591e1 /addons/web/static/src/js/views/basic/basic_controller.js
parent22f7b7922181746afdaf714920e129d84ab107f7 (diff)
[IMP] web_editor: add image filename at the end of URLs
When an image is added thanks to the media dialog, the URL that is used was '/web/image/<id-of-the-attachment>'. Now the name of the image will be added for SEO purposes ('/web/image/<id-of-the-attachment>/<name>'). Also protect URLs with quotes to allow spaces.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions