pdf attachments in history and documents

i have a problem where that any pdf attachment uploaded into documents or in the history will not open, because the file does not have the .pdf file extension, if you manually download the file and open in adobe it works fine.

is this a bug thats easily fixed? anyone else getting this?