Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Redirect after saving 'Edit My Account'
If you use special symbols for usernames (cyrillic, chinese, some european, etc.) and edit some code for it, you need to replace in file class.profilecontroller.php next string:
$this->RedirectUrl = Url('/profile/'. Gdn_Format::Url($User->Name));
to
$this->RedirectUrl = Url('/profile/'.$this->User->UserID . '/' . urlencode($User->Name));
I think that this replace can be used for other languages too, but may be need a little change.
$this->RedirectUrl = Url('/profile/'. Gdn_Format::Url($User->Name));
to
$this->RedirectUrl = Url('/profile/'.$this->User->UserID . '/' . urlencode($User->Name));
I think that this replace can be used for other languages too, but may be need a little change.
0