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

"Share This Item" Generates Email Blob #36

Closed
miqrogroove opened this issue Jun 3, 2022 · 3 comments
Closed

"Share This Item" Generates Email Blob #36

miqrogroove opened this issue Jun 3, 2022 · 3 comments

Comments

@miqrogroove
Copy link
Contributor

miqrogroove commented Jun 3, 2022

After clicking the "Share" link on a Details page and completing the email form, Pawtucket generates a multipart message including what appears to be a malformed thumbnail attachment. The payload begins with:

Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment

After that, my email client creates a generic filename with no extension. I had to open this in a text editor to find out that it was supposed to be an image. So, this is taking up space in the message and doing nothing else.

@collectiveaccess
Copy link
Owner

It's a valid image when I just tried it. We can change the content-type to hopefully make you and your email client happy.

@miqrogroove
Copy link
Contributor Author

I tried Gmail and Thunderbird. Both show this file as an anonymous blob. Gmail calls it noname and Thunderbird calls it Part 1.2

@collectiveaccess
Copy link
Owner

Pushed change (a37b825) to set mime type for attachments.

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

No branches or pull requests

2 participants