#291 Computer Type names with \' oder \" can\'t be delete

closed
nobody
IRM-stable (58)
5
2007-04-16
2006-11-24
Robert Penz
No

Hi!

If I enter a name with an ' or " like 19'' Servers they are show with the escape char in the dropdown list and the bigger problem is that I can't delete them anymore.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    +++ lookups.class.php Mon Nov 27 13:10:04 2006
    @@ -105,9 +105,9 @@

    foreach ($this->lookupValues as $value)
    {
    - $output .= "<option value=\"$value\"";
    + $output .= "<option value=\"".htmlspecialchars($value)."\"";
    if ($selectedValue == $value) $output .= " selected";
    - $output .= ">$value</option>\n";
    + $output .= ">".htmlspecialchars($value)."</option>\n";
    }

    $output .= "</select>\n";

     
  • Yann Ramin

    Yann Ramin - 2007-04-16
    • summary: Computer Type names with ' oder " can't be delete --> Computer Type names with \' oder \" can\'t be delete
    • status: open --> closed
     
  • Yann Ramin

    Yann Ramin - 2007-04-16

    Logged In: YES
    user_id=44672
    Originator: NO

    The bug you have mentioned can't be reproduced by the project
    staff. You might wish to check your installation. Further
    information is available on the project mailing lists.

     

Log in to post a comment.