# 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 @@