GNOME Bugzilla – Bug 788111
Non-HTML (plain text, images) files saved as RFC822 messages
Last modified: 2017-09-25 13:19:18 UTC
Created attachment 360329 [details] [review] Example saved plain text file In 3.26.0 saving a text/plain page via the "Save Page As..." context menu item or via Ctrl+S saves the file as a MIME-encoded RFC 822 message containing HTML wrappers around the plain text content. E.g. saving https://bug783882.bugzilla-attachments.gnome.org/attachment.cgi?id=357339 to disk results in the attached file.
I can't reproduce this. :/
Huh, weird. This is on an up-to-date Ubuntu Artful install: Ephy 3.26.0 & WebkitGTK+ 2.18.0.
Oh, I can reproduce it with master. I was testing with 3.24, sorry. It's surely a regression from https://git.gnome.org/browse/epiphany/commit/?id=77626e20a6e4c312761e7f75184e26ae17a65552.
I pushed https://git.gnome.org/browse/epiphany/commit/?id=96d71cea40dc7c4402b7e4e5d73d92d41eb896f0.
Cheers. I just tried saving an image, that also gets saved as MHTML, so updating the summary. The Bug 785298 version would would fine if the expression also check if the context type of the main resource is not "text/html", so the else block is only ever executed if the main resource is actually a web page?
(In reply to Michael Gratton from comment #5) > The Bug 785298 version would would fine if the expression also check if the > context type of the main resource is not "text/html", so the else block is > only ever executed if the main resource is actually a web page? I think so, yes.