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/security/vercert.php

    r3991 r4127  
    2323require_once('classes/Verifica_Certificado.php'); 
    2424include('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']))); 
    2726$c = new certificadoB(); 
    2827$c->certificado($cert); 
Note: See TracChangeset for help on using the changeset viewer.