View Issue Details

IDProjectCategoryView StatusLast Update
0007246OXID eShop (all versions)4.09. SEO, SEO URLpublic2024-01-24 13:42
Reportermichael_keiluweit Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version6.3.0 
Summary0007246: When adding a trailing slash, http instead of https is used although https was used in first place.
DescriptionIf 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 Reproduce1. 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".
Tagshtaccess
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

There are no notes attached to this issue.