xmaysonnave / tiddlywiki-ipfs

IPFS with TiddlyWiki
https://bluelightav.eth.link
GNU General Public License v3.0
54 stars 8 forks source link

Browser warning and error. #3

Open xmaysonnave opened 4 years ago

xmaysonnave commented 4 years ago

While displaying an embedded application/pdf attachment :

1 - Chrome 78 display the whole content of the pdf in the dev console

Here is the displayed warning. Resource interpreted as Document but transferred with MIME type application/pdf:

2 - Firefox 68.2.0esr do not complain however the following error message is displayed: _getLoginDataFromParent: A form origin is required

Thanks

xmaysonnave commented 4 years ago

About the Chrome warning. According to this page: https://stackoverflow.com/questions/6587393/resource-interpreted-as-document-but-transferred-with-mime-type-application-zip Setting the header: Content-Disposition: attachment; filename=foo.pdf should solve the issue

xmaysonnave commented 4 years ago

https://github.com/Jermolene/TiddlyWiki5/issues/4364#issuecomment-549224988 https://bugs.chromium.org/p/chromium/issues/detail?id=1030158

xmaysonnave commented 4 years ago

It seems that the problem is fixed starting from : Chrome Version 80.0.3987.87 (Official Build) (64-bit) To be confirmed.

xmaysonnave commented 4 years ago

https://github.com/Jermolene/TiddlyWiki5/issues/4364#issuecomment-586108193