Skip to content

Unsubscribe links use http:// when website served only over https:// #57

@jenlampton

Description

@jenlampton

I'm not sure how this is happening, but our website is only accessible via https, and yet the the url tokens (for things like unsubscribe links) are appearing in emails starting with http://.

I think it would be a reasonably safe assumption that these links should always start with https in this day and age, so for a quick-fix I have added 'https' => TRUE as a parameter for url().

I am sending these emails from a cron task, and I wonder if there's something about using the cron task that generates these links incorrectly, as opposed to triggering the messages from the UI.

I'll test both to see if the result is the same. Assigning to myself.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions