Usernames with diacritics cause an error at login on Windows

Bug #1030826 reported by Simon Story
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Christopher Tombleson

Bug Description

If a username contains a diacritic (Ie. Simoné) on Windows the interactive login can fail with an error.

This effects at least:
Windows Server 2008 R2
IIS 7
Postgresql 9.1.4
PHP 5.3.13
Mahara 1.5.1

Tags: i18n
Revision history for this message
Simon Story (simon-story) wrote :

Probably related to improper handling of multi-byte characters (Re: UTF-8) characters on when using PHP on Windows.

Revision history for this message
Simon Story (simon-story) wrote :
tags: added: i18n
Changed in mahara:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.6.0
Changed in mahara:
assignee: nobody → Christopher Tombleson (christopher-k)
Revision history for this message
Melissa Draper (melissa) wrote :
Changed in mahara:
status: Triaged → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/1471
Committed: http://gitorious.org/mahara/mahara/commit/0c75d7a7f345de65d658a0369993a67314189bbf
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 0c75d7a7f345de65d658a0369993a67314189bbf
Author: Christopher Tombleson <email address hidden>
Date: Wed Aug 1 11:02:38 2012 +1200

    Fixing login issue (Bug #1030826)

    If possible use mb_strtolower rather than strtolower as it
    might not convert UTF-8 characters properly.

    Change-Id: I91a78e74b9154362d1c631db24a6d5e5ddeccb14
    Signed-off-by: Christopher Tombleson <email address hidden>

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

https://reviews.mahara.org/1496 <- 1.6 version, will autopush

Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/1496
Committed: http://gitorious.org/mahara/mahara/commit/76fa724d54fc1e971552e96f67fc65363fcb6db4
Submitter: Hugh Davenport (<email address hidden>)
Branch: 1.6_STABLE

commit 76fa724d54fc1e971552e96f67fc65363fcb6db4
Author: Christopher Tombleson <email address hidden>
Date: Wed Aug 1 11:02:38 2012 +1200

    Fixing login issue (Bug #1030826)

    If possible use mb_strtolower rather than strtolower as it
    might not convert UTF-8 characters properly.

    Change-Id: I91a78e74b9154362d1c631db24a6d5e5ddeccb14
    Signed-off-by: Christopher Tombleson <email address hidden>

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAlCbHO8ACgkQuMoJ2LQ3zxH8TAP/YN4BiCJZsn5a899/0UzV31Qg
lM8LXAwZWa6zFv6t0BQUHCqe6eFK9wPp51qgCWWXjUZ3vvvVcsyeWp6626aBFKSU
pCQXI9E7huPw802nJQ9WcZXRBUmgw87ww72Tx4mybnu7SPSrkZgXdnPGSMwDs89N
oWvTpl7Xuac48e6p0lU=
=ouU+
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.