changeset 2807dd79acd9 in modules/marketing_automation:5.8
details: 
https://hg.tryton.org/modules/marketing_automation?cmd=changeset;node=2807dd79acd9
description:
        Match unsubscribe route path with generated URL

        The URL generated is using '/' to separate database name from the 
unsubscribe
        command but the route is using '$'.
        For backward compatibility with email already sent, we use '/' in the 
route.

        issue9886
        review314921002
        (grafted from d6b1349e7870ea947c6f0f289e0438cbf2e5d33c)
diffstat:

 routes.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 80389d9bfc6c -r 2807dd79acd9 routes.py
--- a/routes.py Fri Nov 27 22:41:03 2020 +0100
+++ b/routes.py Fri Dec 04 18:42:54 2020 +0100
@@ -9,7 +9,7 @@
 from trytond.wsgi import app
 
 
[email protected]('/m/<base64:database_name>$unsubscribe')
[email protected]('/m/<base64:database_name>/unsubscribe')
 @with_pool
 @with_transaction(readonly=False)
 def unsubscribe(request, pool):

Reply via email to