Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1fa91538

Von Sven Schöling vor etwa 18 Jahren hinzugefügt

  • ID 1fa915384134dc8ebff87b36a2ee0b99b76bcd7a
  • Vorgänger 66eb2bd0
  • Nachfolger a104b890

Paranoiasicherheitscheck in IR.pm

Unterschiede anzeigen:

SL/IS.pm
$main::lxdebug->leave_sub() and return 0 unless ($form->{id});
# make sure there's no funny stuff in $table
# ToDO: die when this happens and throw an error
$main::lxdebug->leave_sub() and return 0 if ($table =~ /\W/);
my $dbh = $form->dbconnect($myconfig);
my $query = qq|SELECT storno FROM $table WHERE id = ?|;

Auch abrufbar als: Unified diff