[configuration] picture_ext and file_ext - case sensitivity #302

Closed
opened 2026-10-04 23:51:15 +02:00 by adam · 0 comments
Owner

Reported by jc on 5 Feb 2015 13:47

Please make picture_ext and file_ext case in-sensitive. Default setting is:

picture_ext = 'jpg','JPG','jpeg','JPEG','png','PNG','gif','GIF'
file_ext = ^^ + 'tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf'

So big casing file_ext is missing. Even after including these, there are chance to have files with case mixed letters: Mp3, Jpg, etc. without possibility to upload them.

Piwigo Bugtracker #3197

**Reported by jc on 5 Feb 2015 13:47** Please make picture_ext and file_ext case in-sensitive. Default setting is: picture_ext = &#039;jpg&#039;,&#039;JPG&#039;,&#039;jpeg&#039;,&#039;JPEG&#039;,&#039;png&#039;,&#039;PNG&#039;,&#039;gif&#039;,&#039;GIF&#039; file_ext = ^^ + &#039;tiff&#039;, &#039;tif&#039;, &#039;mpg&#039;,&#039;zip&#039;,&#039;avi&#039;,&#039;mp3&#039;,&#039;ogg&#039;,&#039;pdf&#039; So big casing file_ext is missing. Even after including these, there are chance to have files with case mixed letters: Mp3, Jpg, etc. without possibility to upload them. [Piwigo Bugtracker #3197](http://piwigo.org/bugs/view.php?id=3197) <!-- github-sync-id:97227050 -->
adam closed this issue 2026-10-04 23:51:15 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#302