View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004319 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2012-08-07 10:17 | 2013-03-21 12:10 |
Reporter | d3 | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 4.6.7 | Fixed in Version | 4.7.4 / 5.0.4 revision 57063 | ||
Summary | 0004319: permanently redirect 301 to offline.html should be 307 | ||||
Description | in oxcmp_shop::render::59 oxUtils::getInstance()->redirect($sShopUrl . 'offline.html', false); redirects with an 301 should be oxUtils::getInstance()->redirect($sShopUrl . 'offline.html', false, 307); | ||||
Tags | Offline, Redirect | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0005009 | resolved | Linas Kukulskis | Redirect in case of an error must be 307 and not 301/302 |
related to | 0003244 | resolved | arvydas_vapsva | Newer Browser are caching 301 Redirects |
|
I meant 307 in title |
|
Is someone working on this bug yet? 301 redirects cause the "offline.html" page is shown to the users although the shop is online. Only after clearing the browser caches the site is available again. |
|
We should increase the priority of this bug because if the shop visitor will be redirected to offline.html (301 = Moved permanently!) and if the browser caches that, this redirect will be permanent so the shop visitor does not have an easy opportunity to get back to the shop (which is actually not offline). Maybe it would be better in this case to send an error code 503 Service Unavailable? |
|
changed default value to 302 |