[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_4, updated. RELEASE_3_4_3_1-18-gc4ecddb
Rouslan Placella
roccivic at users.sourceforge.net
Mon Jul 4 13:35:33 CEST 2011
The branch, QA_3_4 has been updated
via c4ecddb5a2df58f26675f0162d8f2335b71bfbd5 (commit)
from 041cd7e7d2dfa95dd055da6fd2eb5308902fda95 (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 1 +
tbl_structure.php | 8 ++------
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6bdeb8c..459bd1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog
- bug #3323101 [parser] Invalid escape sequence in SQL parser
- bug #3348995 [config] $cfg['Export']['asfile'] set to false does not select asText option
- bug #3340151 [export] Working SQL query exports error page
+- bug #3353649 [interface] "Create an index on X columns" form not validated
3.4.3.1 (2011-07-02)
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
diff --git a/tbl_structure.php b/tbl_structure.php
index 7d380b4..4c0b185 100644
--- a/tbl_structure.php
+++ b/tbl_structure.php
@@ -680,7 +680,7 @@ if (! $tbl_is_view && ! $db_is_information_schema && 'ARCHIVE' != $tbl_type) {
?>
<br />
<form action="./tbl_indexes.php" method="post"
- onsubmit="return checkFormElementInRange(this, 'idx_num_fields',
+ onsubmit="return checkFormElementInRange(this, 'added_fields',
'<?php echo str_replace('\'', '\\\'', __('Column count has to be larger than zero.')); ?>',
1)">
<fieldset>
@@ -689,11 +689,7 @@ if (! $tbl_is_view && ! $db_is_information_schema && 'ARCHIVE' != $tbl_type) {
echo sprintf(__('Create an index on %s columns'),
'<input type="text" size="2" name="added_fields" value="1" />');
?>
- <input type="submit" name="create_index" value="<?php echo __('Go'); ?>"
- onclick="return checkFormElementInRange(this.form,
- 'idx_num_fields',
- '<?php echo str_replace('\'', '\\\'', __('Column count has to be larger than zero.')); ?>',
- 1)" />
+ <input type="submit" name="create_index" value="<?php echo __('Go'); ?>" />
</fieldset>
</form>
<br />
hooks/post-receive
--
phpMyAdmin
More information about the Git
mailing list