View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000869 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2009-05-07 14:40 | 2012-12-07 14:29 |
Reporter | philipp_grashoff | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.1 revision 18442 | ||||
Fixed in Version | 4.1.6 revision 22740 | ||||
Summary | 0000869: Media files with a number bigger than 3 in filename can't be uploaded | ||||
Description | In 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 Information | Ticket #122765 | ||||
Tags | Products | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
has duplicate | 0001146 | closed | Meadia File upload in admin area fails |
|
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. |
|
fixed |