Jump to content

Extra / In Url From Ssl


Laico

Recommended Posts

I have CubeCart version 3.0.16 running in the root directory of a site, let's say http://www.x.com/

I added SSL, and have the following settings:

global.inc.php contains...

$glob['rootDir'] = '/home/x/public_html';

$glob['rootRel'] = '/';

$glob['storeURL'] = 'http://www.x.com/';

General Settings > Directories & Folders contains...

Root SECURE Public HTML Folder = "/"

Absolute SECURE URL = "http://www.x.com"

So everything is set up just like the instructions. But when the user goes from an SSL-protected page to a non-SSL page, an extra "/" gets added every time to the current URL. For example, the "View Basket" page is SSL secured. The "Homepage" link on that page points to

https://www.x.com/index.php

But clicking on it goes to

http://www.x.com//index.php?&ccUser=[string]

Notice the extra /. If the user goes back and forth, there can be multiple /s.

Anyone know why the extra / is getting added every time?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...