diff options
| author | Olivier Dony <odo@openerp.com> | 2015-07-15 14:18:08 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-07-15 14:18:09 +0200 |
| commit | 8ea4bf81f7c7e74cbe6c654051ae021e683417e5 (patch) | |
| tree | c6ac8a06ee87d7e99133e3e3fc21a9fbe7c873dc /addons/barcodes/static/src/js/barcode_parser.js | |
| parent | 5bbcc14d2f39a593a2b42719bbda82a2750208dc (diff) | |
[FIX] fetchmail: workaround poplib line length bug
In order to fix Python bug https://bugs.python.org/issue16041
a maximum line length was introduced in poplib when reading
email contents from the POP3 server.
That limit is set to prevent DoS attacks via malicious POP3
servers.
The default limit (2048) seems to be too low for emails
commonly found on the internet, retrieved via POP3 from
popular mail services such as GMail, Hotmail, etc.
(The POP3 servers might send back the lines verbatim
without splitting them up)
This is discussed in follow-up Python bug
https://bugs.python.org/issue23906.
Workaround implemented by forcing a higher default limit
to accomodate POP3 responses with lines up to 64KB.
Diffstat (limited to 'addons/barcodes/static/src/js/barcode_parser.js')
0 files changed, 0 insertions, 0 deletions
