https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-01-15T20:47:42ZRedmineRedmine - Feature #12844: Allow upper-case letters in project identifiershttps://www.redmine.org/issues/12844?journal_id=444292013-01-15T20:47:42ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Arnaud GUT wrote:</p>
<blockquote>
<p>I was wondering if the project identifier constraint could be relaxed a bit and accept both upper and lower case letters ?</p>
</blockquote>
<p>That seems reasonable.</p>
<blockquote>
<p>BTW: there might be a small bug in the automatic identifier generation at project creation time, where underscores becomes dashes instead of staying as underscores.</p>
</blockquote>
<p>Fixed in <a class="changeset" title="Underscores are allowed in project identifiers (#9225)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/11195">r11195</a>. Thanks for pointing this out.</p> Redmine - Feature #12844: Allow upper-case letters in project identifiershttps://www.redmine.org/issues/12844?journal_id=444302013-01-15T20:47:56ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Relaxing project identifier constraints (a bit)</i> to <i>Allow upper-case letters in project identifiers</i></li></ul> Redmine - Feature #12844: Allow upper-case letters in project identifiershttps://www.redmine.org/issues/12844?journal_id=445582013-01-16T11:44:49ZArnaud GUT
<ul></ul><p>When this could be implemented as it seems to not be a huge modification (a priori !)?<br />If you prefer, answer on my private mail.</p> Redmine - Feature #12844: Allow upper-case letters in project identifiershttps://www.redmine.org/issues/12844?journal_id=544632014-01-23T20:43:24ZPatrick O'Keeffe
<ul></ul><p>This shouldn't be difficult to implement:</p>
<p>root/trunk/public/javascripts/project_identifier.js | line 54:</p>
<pre><code>- identifier = identifier.replace(/[^a-z0-9_]+/gi, '-'); // remaining non-alphanumeric => hyphen<br />+ identifier = identifier.replace(/[^a-zA-Z0-9_]+/gi, '-'); // remaining non-alphanumeric => hyphen</code></pre>
<p>Note: I don't know if/how this change might affect other components.</p> Redmine - Feature #12844: Allow upper-case letters in project identifiershttps://www.redmine.org/issues/12844?journal_id=544672014-01-24T07:05:09ZDaniel Felix
<ul></ul><p>What is the use case behind this? What benefit do you get from uppercase identifiers and uppercase URL's? Mostly this makes more problems than uses?</p>
<p>How do you plan to handle Identifieres like "Redmine", "redmine" and "RedMine"? They could occur, but the url is in this cases case insensitive.</p> Redmine - Feature #12844: Allow upper-case letters in project identifiershttps://www.redmine.org/issues/12844?journal_id=545982014-01-31T08:40:55ZVincent Caron
<ul></ul><p>The use case was one where we would synchronize a repository hierarchy (a Hg repository managed by RhodeCode to be more precise) with a project hierarchy within Redmine. On the repository side, the URLs are built to map the filesystem which is case sensitive under Unix. Once the names were flatten as lowercase Redmine-project-IDs it became impossible to reverse-map those IDs to proper repository paths.</p>
<p>We (Arnaud and I) don't rely on this use case anymore, this ticket may be closed as far as I'm concerned.</p> Redmine - Feature #12844: Allow upper-case letters in project identifiershttps://www.redmine.org/issues/12844?journal_id=775822017-03-29T04:18:35ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/13824">Feature #13824</a>: Project identifier for greek + cyrillic glyphs</i> added</li></ul>