Demande #2387
Le champ web dans la fiche candidat rejette les liens en https
Statut:
Fermé
Priorité:
Normale
Assigné à:
Christian P. Momon
Version cible:
-
Début:
25/05/2017
Echéance:
% réalisé:
0%
Temps estimé:
Description
Mettre un lien en https dans le champ web de la fiche candidat génère un refus de sauvegarde la fiche.
Solution : dans include/candidat.php, modifier l'expression régulière de la vérification.
if ( $args [ 'web' ] and ! preg_match ( '/^http:\/\//', $args [ 'web' ] ) )
->
if ( $args [ 'web' ] and ! preg_match ( '/^https?:\/\//', $args [ 'web' ] ) )