https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-12-14T10:03:58ZRedmineRedmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=347002011-12-14T10:03:58ZMax Meier
<ul><li><strong>File</strong> <a href="/attachments/6925">patch.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6925/patch.txt">patch.txt</a> added</li></ul><p>Upgrading to redmine 1.2.2 I created a patch for app/models/user.rb, which allows german umlauts and accent d'aigu in login names. The regexp pattern is extended with unicode quoted characters, so it should run also without requiring cp1232 or such.</p>
<p>Could you please integrate this into official redmine versions?</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=355272012-01-24T12:06:08ZDaniel Albuschat
<ul></ul><p>+1<br />I ran into the same problem with 1.3.0 and used the same "hack" to fix it (I manually edited user.rb).<br />Why hasn't this patch been incorporated?<br />Why is that validation necessary, anyways?</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=466322013-03-13T14:25:59ZPiotr Karasinski
<ul></ul><p>Just stumbled upon the same issue with danish characters. The name of this thread should maybe be changed to "national characters in login string" or something. Anyway the difference for me was that these national characters are not ASCII, and apparently the app/models/user.rb file in its unmodified form is ASCII encoded. So I needed to add the following code on the very top of the file:<br /><pre>
# -*- coding: utf-8 -*-
</pre><br />otherwise it failed with an error (at least it did for me) when accessing Redmine.</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=466422013-03-13T20:06:44ZDaniel Felix
<ul></ul><p>Well we encountered the same Problem. It would be great to have this enabled in the next release.<br />I currently disabled just the Loginname validation as we are using LDAP for our user management. But this way we just need to change some core code on every release to get this thing working.</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=520282013-09-24T15:11:47ZPhilipp erpel
<ul></ul><p>I just want to add myself as one more victim of this shortcoming. It's 2013 and we should be able to use proper usernames by now. Please consider to extend the allowable characters.</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=629142015-04-08T11:28:00ZGregor Borsemirk
<ul></ul><p>I also just came across this issue where I was authenticating against LDAP.<br />This user had a german 'umlaut' in his user name and redmine always was rejecting a login with 'invalid user name'</p>
<p>The fix from Max Meier works for me in Redmine 2.6.3<br />So thanks to Max!</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=677432015-12-08T12:20:59Zint redmine
<ul></ul><p>It is not only login causing issues when containg umlauts.<br />I also get an Internal error</p>
<blockquote>
<p>An error occurred on the page you were trying to access.<br />If you continue to experience problems please contact your Redmine administrator for assistance.<br />If you are the Redmine administrator, check your log files for details about the error.</p>
</blockquote>
<p>during account creation on first time login by LDAP.<br />This is also caused by umlauts in first name/Last name</p>
<p>account creation through normal register procedure is working, when first name/Last name contain umlauts.</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=677512015-12-08T13:49:03ZToshi MARUYAMA
<ul></ul><p>int redmine wrote:</p>
<blockquote>
<p>It is not only login causing issues when containg umlauts.<br />I also get an Internal error</p>
</blockquote>
<p>This is because of <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: LDAP account creation fails when first name/last name contain non ASCII (Closed)" href="https://www.redmine.org/issues/21453">#21453</a>.</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=685302016-01-13T13:19:06ZAndreas Deininger
<ul></ul><p>+1<br />I ran into the same problem with Redmine version 3.2.0 and successfully used the patch above to overcome the limitation I encountered.<br />I would appreciate if this issue could be addressed in a future version of Redmine.</p> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=689952016-02-02T09:34:51ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/15319">feature-6166.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/15319/feature-6166.diff">feature-6166.diff</a> added</li></ul><p>Here is a patch for <a class="changeset" title="Tests broken (#4266)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/15144">r15144</a>.<br />[:alnum:] covers umlauts.</p>
<pre>
/\A[[:alnum:]_\-@\.]*\z/i
</pre> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=691942016-02-12T03:51:21ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/21923">Feature #21923</a>: net-ldap 0.12.0 - 0.12.1 dropped support of UTF-8</i> added</li></ul> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=1059172022-03-15T15:45:21ZAndreas Deininger
<ul></ul><p>More than 6 years later, I again ran into the same problem when updating my Redmine instance to version 4.2.4. Again, I successfully used the patch above to overcome the limitation I encountered.<br />I really would like to see this issue addressed in future Redmine versions.</p>
<p>Pleas note, that I'm not the only one, this <a href="https://www.redmine.org/issues/35355#note-4" class="external">note</a></p>
<pre>
https://www.redmine.org/issues/6166 is basically the same problem with german characters, but no one seems to be interested.
</pre> Redmine - Feature #6166: Support german umlauts and whitespaces in login stringhttps://www.redmine.org/issues/6166?journal_id=1059232022-03-16T08:16:55ZC S
<ul></ul><p>+1</p>