Skip to content
Snippets Groups Projects
Commit 4c05f4ce authored by Abridbus's avatar Abridbus Committed by Nicolas Martinelli
Browse files

[FIX] web: add kw on web controller route


Before this revision, it wasn't possible to access attachments
stored in the filestore added in a mass mailing campaign. Indeed, the
URL uses the route `/web/image` (even for non-image content) but the
link tracker adds the following args: `utm_source` and `utm_medium`.

Those aren't recognized by the system and trigger an Internal Server
Error.

Adding the kw is allowing the public attachment to be seen without being
connected to the instance, which should be the case on mass mailing
campaigns. There is no need to do anything with those args here, only
not refusing them.

opw-2060831

closes odoo/odoo#36815

Signed-off-by: default avatarChristophe Simonis <chs@odoo.com>
parent 57f91453
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment