accents solved
I have solved my problem with accents in links. I'm spanish and I use accent in links and ñ and Ñ. I think I've fixed the problem replacing the line 218 in robot_functions.php:
$eval = str_replace(" ","%20",$eval);
with
$separados=explode("?",$eval,2);
$separados[0]=str_replace("%25","%",str_replace("%3A",":",str_replace("%2F","/",rawurlencode(utf8_encode($separados[0])))));
$eval=implode("?",$separados);
and changing in config.php the variable allowed_link_chars:
$allowed_link_chars = "[:%/?=&;\\,._a-zA-Z0-9áÁéÉ*ÍóÓúÚüÜñÑ|+ ()~-]*"; // includes space and () - not good with javascript, y acentos y guiones
and forget the previous post.
This can solve any special character, just including it in $allowed_link_chars.
I hope this help other spanish and not english people.
Last edited by pepevilluela; 08-29-2006 at 01:59 AM.
|