Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

ProxyConnect and blank cyrillic usernames

edited August 2012 in Vanilla 2.0 - 2.3

Hi!

I am using ProxyConnect to integrate Vanilla Forums with my project.

I am from Russia, so users of my project have usernames in format "Name Surname" with cyrillic letters.

At the moment of user registration ProxyConnect register the user with blank username, but if I doing the test on the ProxyConnect settings page ProxyConnect display cyrillic username right.

Vanilla have complicated framework and tracking this problem for newbe may take a long time, so if you can help me I will be gratefull.

Comments

  • RESOLVED!

    class.proxyauthenticator.php
    line 59:

    $UserName = trim(preg_replace('/[^абвгдеёжзийклмнопрстуфхцчшщьыъэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯ0-9- ]+/i','',$UserName));
    

    I am using only cyrillic usernames, so i don't need latin letters. And "а-яА-я" don't work - don't know why.

Sign In or Register to comment.