# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/comprofiler.html.php +++ components/com_comprofiler/comprofiler.html.php @@ -858,7 +858,17 @@ $checkUsername = ( ( isset( $ueConfig['reg_username_checker'] ) ) && ( $ueConfig['reg_username_checker'] ) ); $checkEmail = ( ( isset( $ueConfig['reg_email_checker'] ) ) && ( $ueConfig['reg_email_checker'] > 1 ) ); $usernameExists = ( ( isset( $ueConfig['login_type'] ) ) && ( $ueConfig['login_type'] != 2 ) ); + $https_post = checkCBPostIsHTTPS( true ); + $urlLostPass = cbSef('index.php'); + if ( $https_post ) { + if ( ( substr( $urlLostPass, 0, 5 ) != 'http:' ) && ( substr( $urlLostPass, 0, 6 ) != 'https:' ) ) { + $urlLostPass = $_CB_framework->getCfg( 'live_site' ) . '/' . $urlLostPass; + } + + $urlLostPass = str_replace( 'http://', 'https://', $urlLostPass ); + } + outputCbTemplate( 1 ); ob_start(); /* @@ -1018,7 +1028,7 @@
-
+
@@ -1353,8 +1363,18 @@ $introMessage = ( isset( $ueConfig['reg_intro_msg'] ) ? stripslashes( getLangDefinition( $ueConfig['reg_intro_msg'] ) ) : null ); $conclusionMessage = ( isset( $ueConfig['reg_conclusion_msg'] ) ? stripslashes( getLangDefinition( $ueConfig['reg_conclusion_msg'] ) ) : null ); - - $regFormTag = ' + $https_post = checkCBPostIsHTTPS( true ); + $urlRegister = cbSef("index.php?option=".$option); + + if ( $https_post ) { + if ( ( substr( $urlRegister, 0, 5 ) != 'http:' ) && ( substr( $urlRegister, 0, 6 ) != 'https:' ) ) { + $urlRegister = $_CB_framework->getCfg( 'live_site' ) . '/' . $urlRegister; + } + + $urlRegister = str_replace( 'http://', 'https://', $urlRegister ); + } + + $regFormTag = '