View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007246 | OXID eShop (all versions) | 4.09. SEO, SEO URL | public | 2021-06-10 14:57 | 2024-08-07 08:41 |
Reporter | michael_keiluweit | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 6.3.0 | ||||
Summary | 0007246: When adding a trailing slash, http instead of https is used although https was used in first place. | ||||
Description | If you call a category without a trailing slash (https://example.com/category) then the htaccess file adds a trailing slash:RewriteCond %{REQUEST_URI} !(\/admin\/|\/Core\/|\/Application\/|\/export\/|\/modules\/|\/out\/|\/Setup\/|\/tmp\/|\/views\/) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !(\.html|\/|\.jpe?g|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc|\.svg)$ %{REQUEST_URI}/ [NC,R=301,L] After addding the slash a redirect is executed. By doing that redirect, the http protocol is used instead of the https mode: Request: Request URL: https://demoshop.oxid-esales.com/Kiteboarding/Kites Status Code: 301 Response: location: http://demoshop.oxid-esales.com/Kiteboarding/Kites/ After that, another redirect is executed to switch from http to https: Request: Request URL: http://demoshop.oxid-esales.com/Kiteboarding/Kites/ Status Code: 302 Found Response: Location: https://demoshop.oxid-esales.com/Kiteboarding/Kites/ | ||||
Steps To Reproduce | 1. Start the developer mode of your browser and switch to the network tab. 2. Call https://demoshop.oxid-esales.com/professional-edition/Kiteboarding/Kites 3. Have a look at the first request "Kites". | ||||
Tags | htaccess | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||