Ignore:
Timestamp:
04/25/11 14:03:41 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1739 - Login com certificado em atributo customizável

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/preferences/handlecertificate.php

    r4123 r4127  
    2525        require_once('../security/classes/Verifica_Certificado.php'); 
    2626        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']))); 
    2928        $c = new certificadoB(); 
    3029        $c->certificado($cert); 
Note: See TracChangeset for help on using the changeset viewer.