From f831430f3aa33e229c01491cd65fb49860b6f8e4 Mon Sep 17 00:00:00 2001 From: Yaco Date: Fri, 30 Aug 2019 05:07:56 -0300 Subject: corrige enlaces con caracteres especiales --- bin/wiki/ImportarExperiencia/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/wiki/ImportarExperiencia/index.php b/bin/wiki/ImportarExperiencia/index.php index 3905a93f..2b77b43e 100644 --- a/bin/wiki/ImportarExperiencia/index.php +++ b/bin/wiki/ImportarExperiencia/index.php @@ -81,7 +81,7 @@ function ObtenerExperiencia($id) {
- +
@@ -273,7 +273,8 @@ function accessProtected($obj, $prop) { while (($line = fgetcsv($file)) !== FALSE) { if ($line[2] === 'si') { // diferencia si esta importado - $collect[] = "$line[0]$line[1]/Experiencia:$line[1]"; + $url = urlencode($line[1]); + $collect[] = "$line[0]$line[1]/Experiencia:$line[1]"; } else { if ($line[2] === 'no') { // diferencia si ya se marco como omitido o aun esta en duda $collect[] = "$line[0]$line[1]No importado"; -- cgit v1.2.1