aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-05-13 17:17:46 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-05-13 17:17:53 +0200
commitaf80be42d4c6012313528095e29f746a37a1a5b7 (patch)
tree90227345bc418792c5148c1988c5b0edbfdc82f1 /server/sonar-web/src/main/webapp/WEB-INF
parentb99de7ef13c54fdf21dc465ae60513e5ed75ddd1 (diff)
downloadsonarqube-af80be42d4c6012313528095e29f746a37a1a5b7.tar.gz
sonarqube-af80be42d4c6012313528095e29f746a37a1a5b7.zip
SONAR-7545 limit the input max length when bulk change the project key
Diffstat (limited to 'server/sonar-web/src/main/webapp/WEB-INF')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/project/key.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/key.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/key.html.erb
index 541918c5f15..0ae01cfeea0 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/key.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/project/key.html.erb
@@ -17,7 +17,7 @@
<h1 class="page-title"><%= message('update_key.page') -%></h1>
<p class="page-description"><%= message('update_key.page.description') -%></p>
</header>
-
+
<% if has_modules %>
<h2><%= message('update_key.bulk_update') -%></h2>
<br/>
@@ -31,12 +31,12 @@
<table>
<tr>
<td style="padding-right: 20px"><%= message('update_key.replace') -%>:</td>
- <td><input type="text" value="" name="string_to_replace" id="string_to_replace" size="40"></td>
+ <td><input type="text" value="" name="string_to_replace" id="string_to_replace" size="40" maxlength="400"></td>
<td class="form-val-note" style="padding-left: 10px;"><%= message('update_key.replace_example') -%></td>
</tr>
<tr>
<td style="padding-right: 20px"><%= message('update_key.by') -%>:</td>
- <td><input type="text" value="" name="replacement_string" id="replacement_string" size="40"></td>
+ <td><input type="text" value="" name="replacement_string" id="replacement_string" size="40" maxlength="400"></td>
<td class="form-val-note" style="padding-left: 10px;"><%= message('update_key.by_example') -%></td>
</tr>
<tr>