[Mahara-contributors] [Bug 1026618] Re: The registration link can fail if a user's name contains a diacritic

2012-09-05 Thread Hugh Davenport
** Changed in: mahara Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/1026618 Title: The registration link can fail if a user's name contains a diac

[Mahara-contributors] [Bug 1026618] Re: The registration link can fail if a user's name contains a diacritic

2012-08-12 Thread Hugh Davenport
** Changed in: mahara Milestone: None => 1.6.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/1026618 Title: The registration link can fail if a user's name contains a diacritic Status i

[Mahara-contributors] [Bug 1026618] Re: The registration link can fail if a user's name contains a diacritic

2012-07-31 Thread Hugh Davenport
https://reviews.mahara.org/1448 ** Changed in: mahara Status: Triaged => In Progress ** Changed in: mahara Assignee: (unassigned) => Simon Story (simon-story) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https:

[Mahara-contributors] [Bug 1026618] Re: The registration link can fail if a user's name contains a diacritic

2012-07-26 Thread Simon Story
Turns out that fixing get_new_username() was the best thing to do. Attached is a patch for this bug to branch master. I've tested it on: Windows + IIS7 + PHP 5.3.13 + Postgres 8.3 (DB Running on Ubuntu 10.04) Windows + IIS7 + PHP 5.3.13 + Postgres 9.1 (DB Running on Windows) Ubuntu 12.04 + PHP 5.

[Mahara-contributors] [Bug 1026618] Re: The registration link can fail if a user's name contains a diacritic

2012-07-25 Thread Hugh Davenport
** Tags added: patch translations windows ** Changed in: mahara Status: New => Triaged ** Changed in: mahara Importance: Undecided => Medium -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net

[Mahara-contributors] [Bug 1026618] Re: The registration link can fail if a user's name contains a diacritic

2012-07-20 Thread Simon Story
I see this is get_new_username() using substr in a non-utf8 safe way, I think I've fixed that. Something like: index b90a9fc..72c0a83 100644 --- a/htdocs/lib/user.php +++ b/htdocs/lib/user.php @@ -1402,7 +1402,7 @@ function get_new_username($desired) { $taken = get_column_sql(' SELEC

[Mahara-contributors] [Bug 1026618] Re: The registration link can fail if a user's name contains a diacritic

2012-07-19 Thread Simon Story
** Attachment added: "php error log of message" https://bugs.launchpad.net/bugs/1026618/+attachment/3228453/+files/recordset_error.txt ** Description changed: Please note this only seems to effect PHP running on Windows, not Ubuntu. In the following configuration: Windows Server 20