View Issue Details

IDProjectCategoryView StatusLast Update
0001814OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:38
Reporterflorian talg Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.3.1 revision 27257 
Summary0001814: Error in URL handling when SSL is active
DescriptionProbably 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.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2010-05-06 10:31

reporter   ~0002630

@developers: can not reproduce it locally. please, check from source code side, if such issue exist.

sarunas_valaskevicius

2010-05-06 17:16

reporter   ~0002655

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

florian talg

2010-05-06 20:29

reporter   ~0002656

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

sarunas_valaskevicius

2010-05-07 08:52

reporter   ~0002657

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

sarunas_valaskevicius

2010-05-07 08:59

reporter   ~0002658

updated comment in config