https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-01-15T13:36:00ZRedmineRedmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=66832009-01-15T13:36:00ZStanislav German-Evtushenko
<ul></ul><p>Duplicate <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Option for able to turn on case insensitive login (Closed)" href="https://www.redmine.org/issues/2330">#2330</a></p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=72562009-02-10T23:53:06ZTony Arnold
<ul></ul><p>Is this patch going to be included in the core redmine product? We're having problems with our LDAP logins at present - we treat usernames as being case-insensitive, however redmine currently does not.</p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=128782009-12-10T08:31:17ZStanislav German-Evtushenko
<ul></ul><p>Tony Arnold wrote:</p>
<blockquote>
<p>Is this patch going to be included in the core redmine product? We're having problems with our LDAP logins at present - we treat usernames as being case-insensitive, however redmine currently does not.</p>
</blockquote>
<p>It will be great if it's included in redmine. We have the same problem.</p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=131872009-12-22T20:39:45ZStanislav German-Evtushenko
<ul></ul><p>Teddy L wrote:</p>
<blockquote>
<p>Actually, uniqueness tests on login and mail fields are case sensitive, so you can have many accounts with same login and/or mail. And the "=" statement isn't case sensitive for strings on all databases, the method <strong>find_by_login</strong> need a fix to be case insensitive like <strong>find_by_mail</strong>.</p>
<p>For example, when i use Redmine with sqlite3, there are sides effects with "On the fly" ldap acounts creation and with SVN users automatic assignement because of <strong>find_by_login</strong> matching "login" with "login" but not "login" with "Login" ...</p>
</blockquote>
<p>Thank you, Teddy! Your patch works with 0.8-stable!</p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=162582010-04-29T11:25:17ZStanislav German-Evtushenko
<ul><li><strong>File</strong> <a href="/attachments/3633">redmine-0.9-stable-r3695-login_case_insensitive.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3633/redmine-0.9-stable-r3695-login_case_insensitive.patch">redmine-0.9-stable-r3695-login_case_insensitive.patch</a> added</li></ul><p>Patch has been updated.</p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=162692010-04-29T21:06:40ZMarcel Waldvogel
<ul></ul><p>Patch <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Make login case-insensitive also for PostgreSQL (Closed)" href="https://www.redmine.org/issues/4732">#4732</a> addresses the same problem, but there at least PostgreSQL and MySQL should use the index instead of a table scan.</p>
<p>Dear maintainers: Please do include one of those fixes!</p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=162752010-04-30T07:46:35ZEric Voisard
<ul></ul><p>Just a comment: In the SMTP point of view, the local part of email addresses IS case-sensitive (RFC821, RFC822, RFC2821). <a class="email" href="mailto:username@domain.org">username@domain.org</a> is not the same mailbox as <a class="email" href="mailto:Username@domain.org">Username@domain.org</a>. Don't you think considering email addresses as case insensitive could have some undesired side effects?...</p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=174932010-06-19T21:36:06ZFelix Schäfer
<ul><li><strong>Target version</strong> set to <i>1.0.0 (RC)</i></li></ul> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=175642010-06-20T20:59:37ZGreg Mefford
<ul></ul><p>Created patches on github:<br />For the validation: <a class="external" href="http://github.com/GregMefford/redmine/commit/8269a9f774e3e41c0ddd0b4c2913dcc000cdbb82">http://github.com/GregMefford/redmine/commit/8269a9f774e3e41c0ddd0b4c2913dcc000cdbb82</a><br />For the user login: <a class="external" href="http://github.com/GregMefford/redmine/commit/022c8addba1714bc47e90747e33533702fcb1ca6">http://github.com/GregMefford/redmine/commit/022c8addba1714bc47e90747e33533702fcb1ca6</a></p> Redmine - Defect #2473: Login and mail should not be case sensitivehttps://www.redmine.org/issues/2473?journal_id=175652010-06-20T21:38:28ZEric Davis
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Eric Davis</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>I've committed a patch by Greg Mefford that makes the user login's case insensitive (<a class="changeset" title="Change User#login to be case-insensitive. #2473 This change also overrides User#find_by_login to..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3807">r3807</a>).</p>