1
terrion
Cant use uppercase file extensions in CBB file uploads?
  • 2005/8/22 4:06

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Has anyone else had this problem?

When I try to upload/attach a file when posting a message in CBB, if the filname's extension is upper case, .JPG for example, the upload fails. If I change the case of the extenstion to, .jpg for example, the upload works just fine.

Is this a shortcoming of the way MIME types are handled in XOOPS 2.0.1X, and 2.2.2?
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...

2
davidl2
Re: Cant use uppercase file extensions in CBB file uploads?
  • 2005/8/22 9:21

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I've not come across this before tbh... ?

can you log this on the cbb site - so coders will have chance to look into it...

(btw - still looking for more team members for cbb...!!!)

3
Peekay
Re: Cant use uppercase file extensions in CBB file uploads?
  • 2005/8/22 9:40

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


This is (was?) a known problem with XOOPS image manager. See this thread. There's a link to a fix in there somewhere. Perhaps the same code is used for CBB uploader?.
A thread is for life. Not just for Christmas.

4
Antoine
Re: Cant use uppercase file extensions in CBB file uploads?
  • 2005/8/22 14:54

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Indeed it used to be a problem where the extention of a file was case sensitively compared to a lost of (lowercase) extensions=>mime-types.
Maybe the module you are referring to has based some of it's code on the uploader.php file.

5
terrion
Re: Cant use uppercase file extensions in CBB file uploads?
  • 2005/8/25 8:10

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Thanks for the replies. Got really busy for a few days and just getting back around to this problem.

I'm going to look at the suggested links now...
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...

Login

Who's Online

258 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 258


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits