View Issue Details

IDProjectCategoryView StatusLast Update
0002745OXID eShop (all versions)2. ----- eShop backend (admin) -----public2012-04-10 15:55
Reportercsimon Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Fixed in Version4.6.0_RC1 
Summary0002745: oViewConf->getSslSelfLink produces wrong URL in Admin
DescriptionHi,

$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.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

csimon

2011-08-10 11:27

reporter   ~0004975

I encountered additionally, that sometimes the "admin/" folder is missing in getSslSelfLink-URL, not only the editlanguage.

rimvydas_paskevicius

2011-08-12 14:24

reporter   ~0005013

$oViewConf->getSslSelfLink() is not intended to use in admin as admin is always under ssl. Use $oViewConf->getSelfLink() instead in admin mode.

csimon

2011-08-12 14:40

reporter   ~0005015

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.

rimvydas_paskevicius

2012-04-10 15:55

reporter   ~0006222

Update oxviewconfig class - method getSslSelfLink() in admin mode will return same result as getSelfLink()