View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001814 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2010-05-05 21:28 | 2012-12-10 14:38 |
Reporter | florian talg | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 4.3.1 revision 27257 | ||||
Summary | 0001814: Error in URL handling when SSL is active | ||||
Description | Probably found a bug in your URL-handling if SSL is active. I used the Shop on my Live-System without any Problems and decided to copy this version type (because it was running well) to my Dev-System just for an much easier deployment process. What happened: 1. I went to my shop at https://mydns-address.de/shop-folder/ (everything fine) 2. I clicked the first top level link like Datenschutz and went to https://mydns-address.de/shop-folder/firstlink/ (also as expected) 3. Now I clicked to a second link and came to https://mydns-address.de/shop-folder/firstlink/secondlink/ instead of https://mydns-address.de/shop-folder/secondlink/ 4. If I clicked again the first link I got https://mydns-address.de/shop-folder/firstlink/secondlink/firstlink and so on First I thought this was because the shop on my Dev-System was placed in a subfolder but finally, after many precious hours I spent, I realized that the only remaining difference was that my Dev-System was running with SSL. I´ve noticed that before but won´t have had the idea that this could be the origin of that failure. As I switched off SSL on my Dev-Shop everything was fine. Please fix this one an let me know about because in the future I will need SSL on both System Dev and Live. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
@developers: can not reproduce it locally. please, check from source code side, if such issue exist. |
|
Reminder sent to: florian talg Hi, we can not reproduce the problem, could you please describe your dev. system setup more clearly? e.g. do both sShopURL and sSSLShopURL contain ssl urls ? or is it only in sShopURL (guessing from your post - all links are https) ? (or just sSSLShopURL ?) Regards, Sarunas |
|
Hmmm, your question implies that the sShopUrl should be the same as the sSSLShopUrl? You are right I really had two different values there. I had the following settings $this->sShopURL = null; (as seen in base configuration for SSL values) $this->sSSLShopURL = 'https://myaddress/shop-folder'; $this->sAdminSSLURL = 'https://myaddress/shop-folder/admin'; As I set both URLs the same value it was working. Thats really not magic but a little hint that I have to do it this way would be very appreciated. Thanks for your quick reply. Regards, Florian |
|
Reminder sent to: florian talg Hi, good that it worked! :) still, usually sShopURL is designed for non-ssl url, even if you have ssl, i.e. the normal workflow is, that sShopURL contains 'http://...' url, and sSSLShopURL - 'https://...'. This way eShop switches between them when needed. e.g. it goes to ssl for user login form and other sensitive data. sShopURL should contain ssl url only if you prefer to run the whole eShop under ssl. As for this ticket,- since it works correctly now, I will close it now and add a better comment in default config.inc.php. Thanks for your note :) Regards, Sarunas |
|
updated comment in config |