German umlaut preservation in URLs in XenForo 2.3 is broken

First of all, thank you for the german umlaut preservation in URLs in XenForo 2.3 explained here: https://xenforo.com/community/threa...haracters-such-as-o-and-u.221332/post-1681545 :)

However, there seems to be a small but crucial bug which causes the special-casing to not be used. The code expects the locale separator to be and underscore (i.e. "de_DE") although actually it is a dash ("de-DE").

Diff:

Код:
--- a/src/XF/Util/Str.php
+++ b/src/XF/Util/Str.php
@@ -385,7...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ