View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002745 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2011-04-15 09:03 | 2012-04-10 15:55 |
Reporter | csimon | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.6.0_RC1 | ||||
Summary | 0002745: oViewConf->getSslSelfLink produces wrong URL in Admin | ||||
Description | Hi, $oViewConf->getSslSelfLink Produces not the same url as $oView->getSelfLink() getSelfLink: "admin/index.php?editlanguage=0&force_admin_sid=mysid&stoken=mytoken&shp=1&" getSslSelfLink: "admin/index.php?force_admin_sid=mysid&stoken=mytoken&shp=1&" As you see, the parameter "editlanguage" is missing. The URLs should be the same, only the protocol should change. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
I encountered additionally, that sometimes the "admin/" folder is missing in getSslSelfLink-URL, not only the editlanguage. |
|
$oViewConf->getSslSelfLink() is not intended to use in admin as admin is always under ssl. Use $oViewConf->getSelfLink() instead in admin mode. |
|
Then i would suggest to return getSelfLinks result instead when calling getSslSelfLink() in Admin, so that if someone does call it he receives the proper result. someones intention is right if he calls this method in admin. |
|
Update oxviewconfig class - method getSslSelfLink() in admin mode will return same result as getSelfLink() |