View Issue Details

IDProjectCategoryView StatusLast Update
0000869OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:29
Reporterphilipp_grashoff Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.1 revision 18442 
Fixed in Version4.1.6 revision 22740 
Summary0000869: Media files with a number bigger than 3 in filename can't be uploaded
DescriptionIn Administer Products -> Products -> Extended:
Try uploading a file named 4.pdf (or 5.pdf, 6.pdf etc) in "Or upload media file": The error message "Invalid chars in file name" appears.

Uploading files named 1.pdf, 2.pdf or 3.pdf works.
Additional InformationTicket #122765
TagsProducts
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Relationships

has duplicate 0001146 closed Meadia File upload in admin area fails 

Activities

dainius.bigelis

2009-07-30 13:22

reporter   ~0001327

Solution from the comment in duplicated bug 0001146:

There is a simple typo in the "wrong chars in file name?"-check in file:
/core/oxutilsfile.php - line 534
Instead of

 if ( !eregi('^[_a-z0-3\.]+$', $aFileInfo['name'] ) ) {

please use:

 if ( !eregi('^[_a-z0-9\.]+$', $aFileInfo['name'] ) ) {

change the 3 into a 9.

arvydas_vapsva

2009-08-19 12:50

reporter   ~0001445

fixed