mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-29 03:44:37 +00:00
Bug 122418 pt2 - obsoleting a patch from the create attachment screen gave
a taint error.
This commit is contained in:
parent
a709461469
commit
289e7236a2
@ -314,7 +314,7 @@ sub validateObsolete
|
||||
# Make sure the attachment id is valid and the user has permissions to view
|
||||
# the bug to which it is attached.
|
||||
foreach my $attachid (@{$::MFORM{'obsolete'}}) {
|
||||
$attachid =~ /^[1-9][0-9]*$/
|
||||
detaint_natural($attachid)
|
||||
|| DisplayError("The attachment number of one of the attachments
|
||||
you wanted to obsolete is invalid.")
|
||||
&& exit;
|
||||
|
Loading…
Reference in New Issue
Block a user