I am generating a pdf invoice with visualforce, but when it downloads there is no file extension. I have read other questions on SE and tried to simplify the content. Right now the code is simplified to
<apex:page standardController="Invoice__c" renderAs="pdf">
hello
</apex:page>
and the file extension is still not added to the file.