[notification] Use https url when available in notification view context
authorDenis Laxalde <denis.laxalde@logilab.fr>
Mon, 16 Dec 2013 08:45:06 +0100
changeset 9387 f31f0c8bda4f
parent 9386 a33da516028f
child 9388 4c34a63bd113
[notification] Use https url when available in notification view context Closes #3376252.
sobjects/notification.py
--- a/sobjects/notification.py	Fri Dec 13 10:24:10 2013 +0100
+++ b/sobjects/notification.py	Mon Dec 16 08:45:06 2013 +0100
@@ -206,7 +206,7 @@
         kwargs.update({'user': self.user_data['login'],
                        'eid': entity.eid,
                        'etype': entity.dc_type(),
-                       'url': entity.absolute_url(),
+                       'url': entity.absolute_url(__secure__=True),
                        'title': entity.dc_long_title(),})
         return kwargs