| View previous topic :: View next topic |
| Author |
Message |
jcoby
Joined: 12 Jan 2007 Posts: 3
|
Posted: Jan 12, 2007 4:53 am Post subject: mime type |
|
|
| would it be possible to add support for reporting the file's mime type to the url_post page? |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Jan 12, 2007 8:49 am Post subject: |
|
|
| Yes. I've just implemented MIME type detection. Check it out in upcoming XUpload Pro release. |
|
| Back to top |
|
 |
jcoby
Joined: 12 Jan 2007 Posts: 3
|
Posted: Jan 12, 2007 4:17 pm Post subject: |
|
|
| 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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Jan 15, 2007 8:53 am Post subject: |
|
|
| 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 |
|
 |
jcoby
Joined: 12 Jan 2007 Posts: 3
|
Posted: Jan 16, 2007 2:20 am Post subject: |
|
|
| 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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Jan 16, 2007 6:53 am Post subject: |
|
|
| Just sent you latest package. |
|
| Back to top |
|
 |
ssanders
Joined: 06 Mar 2012 Posts: 5 Location: Ashland, OH, USA
|
Posted: Apr 03, 2012 3:34 pm Post subject: |
|
|
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 |
|
 |
|