Are attachments tagged correctly?

Comments, suggestions, questions about this forum? Post it here! Also for test purposes or Off-Topic discussions.
Post Reply
User avatar
Mr_-G-
Moderator
Posts: 4624
Joined: 18 Aug 2012, 16:48
Your Nord Gear #1: Nord Stage 2
Has thanked: 1419 times
Been thanked: 1230 times

Are attachments tagged correctly?

Post by Mr_-G- »

I have a problem with the pdfs in this thread

http://www.norduserforum.com/nord-stage ... tml#p37096

Firefox (linux) does not recognise these as pdfs, so it offers to save them but not open them in a viewer.
I guess that the files need to be tagged in a particular way to be opened as pdfs because firefox seems to have no problem in other sites.
mjbrands

Re: Are attachments tagged correctly?

Post by mjbrands »

Well spotted. The web server sends them with a MIME type of application/octet-stream instead of application/pdf.
User avatar
Johannes
Administrator
Posts: 2147
Joined: 05 Mar 2009, 01:04
Your Nord Gear #1: Nord Stage 2
Your Nord Gear #2: Other Brand
Location: Milano
Has thanked: 717 times
Been thanked: 776 times
Contact:

Re: Are attachments tagged correctly?

Post by Johannes »

Hi,
this is the default behaviour of the phpbb forum for security reasons. But I figured given the spam control here an exception for pdf files could be acceptable. So it should now have the correct mime-type if you can try again. Thanks!
These users thanked the author Johannes for the post:
Mr_-G-
User avatar
Mr_-G-
Moderator
Posts: 4624
Joined: 18 Aug 2012, 16:48
Your Nord Gear #1: Nord Stage 2
Has thanked: 1419 times
Been thanked: 1230 times

Re: Are attachments tagged correctly?

Post by Mr_-G- »

Yes it works fine now. Thanks!
Post Reply