View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005355 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2013-08-22 15:47 | 2014-02-25 09:05 |
Reporter | arvydas_vapsva | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.6 / 5.0.6 | ||||
Target Version | 4.8.5 / 5.1.5 | Fixed in Version | 4.9.0_5.2.0_beta1 | ||
Summary | 0005355: .htaccess should be improved | ||||
Description | Now .htaccess contains this: RewriteCond %{REQUEST_URI} (\/out\/pictures\/) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (\.jpe?g|\.gif|\.png)$ getimg.php In case in any of subfolders image is missing - image generator handler is executed. I suppose should be better to change: RewriteCond %{REQUEST_URI} (\/out\/pictures\/) to: RewriteCond %{REQUEST_URI} (\/out\/pictures\/generated\/) | ||||
Tags | htaccess | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Reminder sent to: arvydas_vapsva Hi, Thank you very much for your bug report. As we saw, you already submitted a complete solution for this issue. If you feel fancy, you'd also have the possibility to contribute your changes directly to our GitHub repository on https://github.com/OXID-eSales/oxideshop_ce/. Please leave a note there with the bug number you fixed so we can close this issue in the bug tracker. Best regards |
|
Added 'generated' to rewrite condition so that it would only go through getimg.php if it image is being called through generated folder. |