changeset d6b1349e7870 in modules/marketing_automation:default
details: 
https://hg.tryton.org/modules/marketing_automation?cmd=changeset;node=d6b1349e7870
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
diffstat:

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

diffs (12 lines):

diff -r d091786f9099 -r d6b1349e7870 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