Images why do not the file extension?

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Get Involved
Post Reply
User avatar
selevo
Registered User
Posts: 7
Joined: Sun Mar 20, 2011 6:03 am

Images why do not the file extension?

Post by selevo » Thu Apr 26, 2012 9:17 am

Why was this done?
Skills extension for firefox (Save Imagesaddon) does not recognize the picture on the forum because of this.
Last edited by stevemaury on Sat Apr 28, 2012 6:22 pm, edited 2 times in total.
Reason: removed cursing language

User avatar
tbackoff
Former Team Member
Posts: 7022
Joined: Thu Jun 04, 2009 1:41 am
Location: cheerleading practice
Name: Tabitha Backoff

Re: Images why do not the file extension?

Post by tbackoff » Thu Apr 26, 2012 11:04 am

Moved from General Discussion to phpBB Discussion.

If I remember correctly, this was done for security purposes. It's not just images, but all file extensions that are allowed (defined in the ACP). So any file uploaded with the attachment feature will have the extension "removed" and given a hash value.

Also, please keep in mind that this is an english-speaking board. Your translated text in another language is not needed.
Flying is the second best thrill to cheerleaders; being caught is the first.

yuritenshi
Registered User
Posts: 12
Joined: Mon Feb 27, 2012 8:59 pm

Re: Images why do not the file extension?

Post by yuritenshi » Thu Apr 26, 2012 3:38 pm

All files are downloaded through the download/file.php script, for security reasons. This is a common practice across the internet, so if you want it fixed you'll have to talk to the one who wrote that extension.

Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: Images why do not the file extension?

Post by Pony99CA » Thu Apr 26, 2012 11:35 pm

Here's a good post about why file extensions are removed from attachments.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: Images why do not the file extension?

Post by Arty » Fri Apr 27, 2012 7:03 pm

Don't use badly written addons and you'll be fine. Addon should be able to automatically add extension based on content type.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50859
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Images why do not the file extension?

Post by stevemaury » Sat Apr 28, 2012 6:06 pm

Another virtue of the existing system is that it allows different files that may have the same filename.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Post Reply

Return to “phpBB Discussion”