View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003033 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2011-07-06 13:46 | 2012-12-10 13:23 |
Reporter | MBa | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | android | OS | android | OS Version | 2.3.3 |
Product Version | 4.4.3 revision 30016 | ||||
Fixed in Version | 4.5.2 revision 38481 | ||||
Summary | 0003033: android makes redirects with post instead get (I guess) | ||||
Description | When you go forward from cl=user, oxid will redirect to cl=payment. In normal browsers works good. In Android not. The URL is correct http://www.example.com/index.php?cl=payment&lang=1 ...but android displays the start-page. I printed out the environment $_GET: array( cl=payment lang=1 ) $_POST: array( ) $_SERVER: array( ... REQUEST_METHOD=POST ... ) Ok, seems a bug in android... but IE-Bugs are fixed well, here. | ||||
Steps To Reproduce | Just order somthing in the test-store. Android Simulator: http://developer.android.com/sdk/index.html | ||||
Additional Information | Fixed with: core/oxconfig.php change from: if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'POST' && isset( $_POST[$sName] ) ) { $sValue = $_POST[$sName]; } elseif ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'GET' && isset( $_GET[$sName] ) ) { $sValue = $_GET[$sName]; //<deprecated> } elseif ( oxSession::hasVar( $sName ) ) { $sValue = oxSession::getVar( $sName ); //</deprecated> } else { $sValue = null; } to: if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'POST' && isset( $_POST[$sName] ) ) { $sValue = $_POST[$sName]; } elseif ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'GET' && isset( $_GET[$sName] ) ) { $sValue = $_GET[$sName]; } elseif(isset($_REQUEST[$sName])){//fix $sValue=$_REQUEST[$sName]; //<deprecated> } elseif ( oxSession::hasVar( $sName ) ) { $sValue = oxSession::getVar( $sName ); //</deprecated> } else { $sValue = null; } | ||||
Tags | Order | ||||
Theme | Both | ||||
Browser | other | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0003094 | resolved | Linas Kukulskis | Its not possible to finish an order by using android standard browser |
has duplicate | 0003100 | resolved | Linas Kukulskis | Order process: Android platform redirects to startpage when changing from step 2 to step 3 |
related to | 0003155 | resolved | Linas Kukulskis | oxConfig::getInstance()->getParameter return no GET-Params if request-method is post |