NoSpy Posted September 16, 2018 Posted September 16, 2018 Hello, This code is used to convert accented characters not unaccented characters into URLs function formatrewriting($chaine){ $chaine=trim($chaine); $chaine= strtr($chaine,"ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ","aaaaaaaaaaaaooooooooooooeeeeeeeecciiiiiiiiuuuuuuuuynn"); $chaine = preg_replace('/([^.a-z0-9]+)/i', '-', $chaine); return $chaine; } Could you fix this bug by disabling accented characters in URLs if webmaster want !
Dexter_X Posted January 8, 2019 Posted January 8, 2019 It seems that depending on the server setup the special characters doesnot work well with IPB. Allow disabling special chars in URLs to administrators may be a good solution.
403 - Forbiddeen Posted February 14, 2019 Posted February 14, 2019 On 9/16/2018 at 12:41 PM, NoSpy said: Hello, This code is used to convert accented characters not unaccented characters into URLs function formatrewriting($chaine){ $chaine=trim($chaine); $chaine= strtr($chaine,"ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ","aaaaaaaaaaaaooooooooooooeeeeeeeecciiiiiiiiuuuuuuuuynn"); $chaine = preg_replace('/([^.a-z0-9]+)/i', '-', $chaine); return $chaine; } Could you fix this bug by disabling accented characters in URLs if webmaster want ! You can use this plugin:
NoSpy Posted February 17, 2019 Author Posted February 17, 2019 Thank you I will test this solution until the bug is fixed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.