Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a6c9465a

Von Moritz Bunkus vor fast 17 Jahren hinzugefügt

  • ID a6c9465ac8cd4b35644f14ffec8bdb65a6093056
  • Vorgänger fd1e244e
  • Nachfolger 0aea1ede

Doppeltes Quoting von HTML-Sonderzeichen vermeiden (CGI quotet den Inhalt bereits).

Unterschiede anzeigen:

bin/mozilla/io.pl
245 245
    $column_data{runningnumber} = $cgi->textfield(-name => "runningnumber_$i", -size => 5,  -value => $i);    # HuT
246 246
    $column_data{partnumber}    = $cgi->textfield(-name => "partnumber_$i",    -size => 12, -value => $form->{"partnumber_$i"});
247 247
    $column_data{description} = ((($rows = $form->numtextrows($form->{"description_$i"}, 30, 6)) > 1) # if description is too large, use a textbox instead
248
                                ? $cgi->textarea( -name => "description_$i", -default => H($form->{"description_$i"}), -rows => $rows, -columns => 30)
248
                                ? $cgi->textarea( -name => "description_$i", -default => $form->{"description_$i"}, -rows => $rows, -columns => 30)
249 249
                                : $cgi->textfield(-name => "description_$i",   -size => 30, -value => $form->quote($form->{"description_$i"})))
250 250
                                . $cgi->button(-value => $locale->text('L'), -onClick => "set_longdescription_window('longdescription_$i')");
251 251

  

Auch abrufbar als: Unified diff