Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachments: Mixed content download #193

Open
hoizfux opened this issue Dec 29, 2020 · 1 comment
Open

Attachments: Mixed content download #193

hoizfux opened this issue Dec 29, 2020 · 1 comment

Comments

@hoizfux
Copy link

hoizfux commented Dec 29, 2020

Google Chrome in Version 87 is blocking download of most file types when it happens over mixed content (https --> http).
From Version 88 it will block every file type downloading over mixed content.

It would be great, if there is an option to enable/disable HTTPS for view-link and download-link in GET message REST-API.

{
  "mailbox": "ses",
  "id": "20201222T141606-0001",
  "from": "",
  "to": [
    ""
  ],
  "subject": "test2",
  "date": "2020-12-22T14:16:06.930074122+01:00",
  "size": 5225636,
  "seen": false,
  "body": {

  },
  "header": {

  },
  "attachments": [
    {
      "filename": "FooBar.pdf",
      "content-type": "application/pdf",
      "download-link": "http://www.foobar.de/mailbox/dattach/ses/20201222T141606-0001/0/FooBar.pdf",
      "view-link": "http://www.foobar.de/mailbox/vattach/ses/20201222T141606-0001/0/FooBar.pdf",
      "md5": "037213ee0d1d0b3e3f3e1b9617595ddd"
    }
  ]
}
@jhillyerd
Copy link
Collaborator

Good idea. I'll need to figure out how to explain it in the config concisely without making people think they are actually enabling an HTTPS server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants