Ad Widget

Collapse

addslashes in popup.php ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zyclonite
    Junior Member
    • Jun 2006
    • 4

    #1

    addslashes in popup.php ?

    if you use a single quote as description the java script would not work anymore...

    small workaround:

    in popup.php line 244:

    PHP Code:
    window.opener.document.forms['".$dstfrm."'].".$dstfld2.".value='".addslashes($exp_desc)."';". 
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this! The problem has been fixed (differently).
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...