Closed FoliniC closed 4 years ago
Could it be that your server makes use of url rewriting? Would you be able to check this? Generally multiple forward slashes in urls are not a problem, they just imply an empty URI segment. See this sample: https://github.com///dokterbob/django-newsletter/issues//316
I discovered that absolute part of url came from newsletter configuration. Having my site hosted on AWS EC2 it can change host name. I managed to dinamically get the base url and I modifiied templates accordingly.
Thanks anyway!
In ..\templates\newsletter\message\\subscribe.html
url is contructed with
{{ domain }}{{ url }}
domain ends with a slash and url starts also with slash.When user clicks on it, it fails opening the right page. I modified ...\newsletter\models.py removing first char.
Same behavior on unsubscribe_activate_url