summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-03-07 13:12:48 +0100
committerOlivier Dony <odo@openerp.com>2017-03-07 13:27:59 +0100
commit58593c27552e00fd47212c7aadd5b9132937ef03 (patch)
tree37034f4718252a0df36a12ee923d08590ff3cd8c /doc/reference/javascript.rst
parent6b7012086fedcf2e8e3282f87eb2757191fe4f62 (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 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions