diff options
| author | Ivan Yelizariev <iel@odoo.com> | 2021-03-12 09:03:30 +0000 |
|---|---|---|
| committer | Ivan Yelizariev <iel@odoo.com> | 2021-03-15 14:52:36 +0000 |
| commit | bdec63cf97e6904604e9f1e0bf3b6f453b6add60 (patch) | |
| tree | 45a5fd1f9f9884b95e8a1c85b3b4f0963a4c5a56 /addons/web/static/src/xml/base.xml | |
| parent | 6737feef848dc47120cf3d2cca84e033e869c985 (diff) | |
[FIX] link_tracker: prevent downloading big or non-html files
link tracker tries to get title from HTML, but the url may be not an html page
or too big html to process. It's a waste of bandwidth, but may also lead to a
Server Memory Limit error.
As a solution, make HEAD request and don't proceed to GET request if it's not an
html page or it's too big. Also, limit page downloading to 50KB.
STEPS:
- Have a standard database with link_tracker and mass_mailing.
- Create a new mass mail MM
- Add a link to a large file in MM Mail Body
- Click "SEND"
- Go to Settings / Technical / Automation / Scheduled Actions
- Open the "Process Mass Mailing Queue" or "Email Marketing: Process queue"
- Click "RUN MANUALLY"
---
opw-2457640
closes odoo/odoo#67785
X-original-commit: 4216dc83f134aa41232afc7b5d080a9dc93db171
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
