diff options
author | lpsolit%gmail.com <> | 2005-12-23 05:45:07 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-12-23 05:45:07 +0000 |
commit | c8242c1e91984645c86b38f0794675406aecc4f6 (patch) | |
tree | faf693431fd0fbd1a5b4cd964eb32d7a4eb27dfe /editversions.cgi | |
parent | Bug 320291: [PostgreSQL] The 'percentage complete' column cannot be displayed... (diff) | |
download | bugzilla-c8242c1e91984645c86b38f0794675406aecc4f6.tar.gz bugzilla-c8242c1e91984645c86b38f0794675406aecc4f6.tar.bz2 bugzilla-c8242c1e91984645c86b38f0794675406aecc4f6.zip |
Backing out bug 238780 (Edit versions should reject newline characters) - This patch prevents you to edit or delete existing versions having control characters.
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-x | editversions.cgi | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/editversions.cgi b/editversions.cgi index be2c8a3c6..43816e6aa 100755 --- a/editversions.cgi +++ b/editversions.cgi @@ -130,9 +130,6 @@ if ($action eq 'new') { # Cleanups and valididy checks $version_name || ThrowUserError('version_blank_name'); - # Remove unprintable characters - $version_name = clean_text($version_name); - my $version = new Bugzilla::Version($product->id, $version_name); if ($version) { ThrowUserError('version_already_exists', @@ -245,10 +242,6 @@ if ($action eq 'edit') { if ($action eq 'update') { $version_name || ThrowUserError('version_not_specified'); - - # Remove unprintable characters - $version_name = clean_text($version_name); - my $version_old_name = trim($cgi->param('versionold') || ''); my $version_old = Bugzilla::Version::check_version($product, |