Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5629

javascript error if user media contains doublequote

XMLWordPrintable

      in user media, enter a string with a doublequote, click add. nothing happens, and js error is thrown

      for "user" and just a single doublequote :

      [2012-09-27 08:00:11] JavaScript - http://192.168.5.125/2.0/popup_media.php
      Inline script compilation
      Syntax error at line 53 while loading: expected ')', got 'user'
      "userForm",-1,'1',""user"","1-7,00:00-24
      --------------------^
      [2012-09-27 08:00:14] JavaScript - http://192.168.5.125/2.0/popup_media.php
      Inline script compilation
      Syntax error at line 53 while loading: expected ')', got <string>
      "userForm",-1,'1',""","1-7,00:00-24:00",
      --------------------^

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: