sorry for double post, i forgot to change the subject.. 2009/3/14 Benny Degezelle <[email protected]>
> Yeah, not only can a certain filetype have many several filetypes, also > depending on the browser used to upload, there's also a 255 char limit on > the allowed filetypes field, which can easily fall short. > > I added a condition to asset.rb, so that you can set a Radiant::Config flag > to avoid filetype validations altogether. > Have a look at > http://github.com/jomz/paperclipped/commit/35faae9a461ef72a449c4f4c5369393771c6eab7 > You just need to set Radiant::Config["assets.skip_filetype_validations"] = > true by console or through the Settings extension. > > Regards, > Benny > > I really need to change that. >> >> Add "application/pdf" to the Radiant::Config assets.content_types >> list. You can do this with the Settings extension or in the console. >> >> Keith >> >> >> On Mar 11, 2009, at 4:46 PM, Anton Aylward wrote: >> >> > Here I am with a site that uses paperclipped for asset management >> > and I >> > try uploading a PDF and get the above as an error message. >> > >> > How do I fix that? >> > >> > -- >> > Whenever men take the law into their own hands, the loser is the law. >> > And when the law loses, freedom languishes. >> > -- JFK >> > >> > _______________________________________________ >> > Radiant mailing list >> > Post: [email protected] >> > Search: http://radiantcms.org/mailing-list/search/ >> > Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > > -- Met vriendelijke groeten, Benny Degezelle Gorilla webdesign www.gorilla-webdesign.be _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
