Changeset 4127
- Timestamp:
- 04/25/11 14:03:41 (13 years ago)
- Location:
- branches/2.2.0.1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/phpgwapi/templates/default/login_default.php
r4012 r4127 116 116 if(isset($_POST['certificado']) && $_POST['certificado']) 117 117 { 118 //$xcert = str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']); 119 $_SESSION['login_certificado'] = troca_espaco_por_mais(str_replace(chr(0x0 A).chr(0x0A),chr(0x0A),$_POST['certificado']));118 119 $_SESSION['login_certificado'] = troca_espaco_por_mais(str_replace(chr(0x0D).chr(0x0A),chr(0x0A),str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']))); 120 120 } 121 121 if( isset( $_GET[ 'cd' ] ) && ( $_GET['cd']=='1' || $_GET['cd'] == 10 ) ) -
branches/2.2.0.1/preferences/handlecertificate.php
r4123 r4127 25 25 require_once('../security/classes/Verifica_Certificado.php'); 26 26 include('../security/classes/Verifica_Certificado_conf.php'); 27 $cert =str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']); 28 $cert = troca_espaco_por_mais($cert); 27 $cert = troca_espaco_por_mais(str_replace(chr(0x0D).chr(0x0A),chr(0x0A),str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']))); 29 28 $c = new certificadoB(); 30 29 $c->certificado($cert); -
branches/2.2.0.1/security/vercert.php
r3991 r4127 23 23 require_once('classes/Verifica_Certificado.php'); 24 24 include('classes/Verifica_Certificado_conf.php'); 25 $cert =str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']); 26 $cert = troca_espaco_por_mais($cert); 25 $cert = troca_espaco_por_mais(str_replace(chr(0x0D).chr(0x0A),chr(0x0A),str_replace(chr(0x0A).chr(0x0A),chr(0x0A),$_POST['certificado']))); 27 26 $c = new certificadoB(); 28 27 $c->certificado($cert);
Note: See TracChangeset
for help on using the changeset viewer.