diff options
| author | Olivier Dony <odo@openerp.com> | 2017-03-07 13:12:48 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-03-07 13:27:59 +0100 |
| commit | 58593c27552e00fd47212c7aadd5b9132937ef03 (patch) | |
| tree | 37034f4718252a0df36a12ee923d08590ff3cd8c /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 6b7012086fedcf2e8e3282f87eb2757191fe4f62 (diff) | |
[FIX] mass_mailing: correct unsubscribe token check
The mailing._unsubscribe_token() method expected the record ID
as an integer, but accepted strings and generated a different
token for the string representation of an integer (!)
The unsubscribe controller was passing a string by mistake.
mailing._unsubscribe_token will still expect integers but if
the string representation of an integer is passed it will be
silently cast to an integer, and will generate the same token.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
