RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
mime type

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
jcoby



Joined: 12 Jan 2007
Posts: 3

PostPosted: Jan 12, 2007 4:53 am    Post subject: mime type Reply with quote

would it be possible to add support for reporting the file's mime type to the url_post page?
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Jan 12, 2007 8:49 am    Post subject: Reply with quote

Yes. I've just implemented MIME type detection. Check it out in upcoming XUpload Pro release.
Back to top
View user's profile Send private message Visit poster's website
jcoby



Joined: 12 Jan 2007
Posts: 3

PostPosted: Jan 12, 2007 4:17 pm    Post subject: Reply with quote

PilgrimX182 wrote:
Yes. I've just implemented MIME type detection. Check it out in upcoming XUpload Pro release.


how long until that's available? could I get a patch for the current pro version?
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Jan 15, 2007 8:53 am    Post subject: Reply with quote

Yes. Email us your key and note that you need version with MIME type support. We will send you latest XUpload PRO.
Back to top
View user's profile Send private message Visit poster's website
jcoby



Joined: 12 Jan 2007
Posts: 3

PostPosted: Jan 16, 2007 2:20 am    Post subject: Reply with quote

PilgrimX182 wrote:
Yes. Email us your key and note that you need version with MIME type support. We will send you latest XUpload PRO.


Email sent, thank you.
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Jan 16, 2007 6:53 am    Post subject: Reply with quote

Just sent you latest package.
Back to top
View user's profile Send private message Visit poster's website
ssanders



Joined: 06 Mar 2012
Posts: 5
Location: Ashland, OH, USA

PostPosted: Apr 03, 2012 3:34 pm    Post subject: Reply with quote

This is not working properly.

If I rename a file extension, the MIME is always reported as that of the new file extension.

So if I rename a .PDF to .TXT, the MIME is always reported as "text/plain," though the content is a .PDF.

If I check the same file's MIME with PHP, it correctly reports it as "application/pdf."

So the point of checking MIME with XUpload is lost -- XUpload is reporting the MIME by file extensions -- and is potentially a security risk.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group