Skip to content
Snippets Groups Projects
Commit 886c07da authored by Vandan Shah's avatar Vandan Shah Committed by qsm-odoo
Browse files

[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.
parent 22f7b792
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment