XF 2.2 Bugs with XenForo, special characters are causing errors

RisteDimitrievski

Active member
In XenForo 2.2 RC1, i've discovered 3 bugs that should be fixed as soon as possible:
1. If you register with special characters in username, later you will break the forum. ex. You can not open member profile, not able to login/signup too with message, "Cookie are required". (HIGH PRIORITY)
2. If you see the chrome's console information, after i configured redirecting to the canonical url in basic board url, the redirection from http:// to https:// fails.
3. I'm unable to log in even in admin cp, when i registered with username containing special characters.


This was happened after i put special characters in username.
 

Attachments

  • bugforum.webp
    bugforum.webp
    73.1 KB · Views: 10
  • forumadminbug.webp
    forumadminbug.webp
    18.2 KB · Views: 10
Solution
I fixed all the issues by setting in CF always use SSL/TLS to true. This option is to redirect all request(s) from http to https.

This was preventing board canocalization url redirecting to the https, since ssl are not installed in the origin server and i'm using CF's ssl/tls, this causes also errors with cookies e.g You must enable Cookie in order to login/register.

The cookie related problem was that, in board home url is changed via https://. I was accessing in http:// and when that error occur, most likely the script put local session storage and later even when i accessed the page via https:// the problem still exists.

But now seems that everything is fine.
Thank you for providing me assistance
See your other thread about this -- I'm pretty sure virtually all of the issues stem from specifics of your CloudFlare configuration.
 
I fixed all the issues by setting in CF always use SSL/TLS to true. This option is to redirect all request(s) from http to https.

This was preventing board canocalization url redirecting to the https, since ssl are not installed in the origin server and i'm using CF's ssl/tls, this causes also errors with cookies e.g You must enable Cookie in order to login/register.

The cookie related problem was that, in board home url is changed via https://. I was accessing in http:// and when that error occur, most likely the script put local session storage and later even when i accessed the page via https:// the problem still exists.

But now seems that everything is fine.
Thank you for providing me assistance
 
Solution
Back
Top Bottom