[7.0.9] Submenu Link Bug when on HTTPS

I switched to https/ssl and found a bug in the submenu of profiles. Steps to reproduce:

 

1) change site url in inc/header.inc.php to https:

2) click on any profile

3) click on any submenu item like "photos" etc

4) now click the first submenu item "profile" again which leads to a wrong url

->  https://www.example.com/https://www.example.com/MEMBERNAME

correct link should be

-> https://www.example.com/MEMBERNAME

I tried patch http://www.boonex.com/trac/dolphin/ticket/3067 but this must be 7.1.0 specific because it leads to more wrong links and errors in the submenu under 7.0.9. Is this bug above only a rewrite problem?

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 8 Mar 2013

I forgot to mention, that i applied also these changesets but i think it's also not the source of the problem.

http://www.boonex.com/forums/#topic/Missing-Rewrite-Rule-or-what-.htm

http://www.boonex.com/trac/dolphin/changeset/17467

http://www.boonex.com/trac/dolphin/changeset/17466

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 8 Mar 2013

Found the problem in function genSubItem() of /templates/base/scripts/BxBaseMenu.php

There is a hardcoded IF checking for 'http://' only. This must be changed to https

if ( strpos( $sLink, 'http://' ) === false && !strlen($sOnclick) )

change to

if ( strpos( $sLink, 'https://' ) === false && !strlen($sOnclick) )

or change it for both cases

if ( strpos( $sLink, 'http://' ) === false && strpos( $sLink, 'https://' ) === false && !strlen($sOnclick) )

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 8 Mar 2013

Similar fix is already applied in Dolphin 7.1

Rules → http://www.boonex.com/terms
Quote · 9 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.