ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5629

javascript error if user media contains doublequote

    Details

      Description

      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",
      --------------------^

        Activity

        Hide
        Oleg Egorov added a comment -

        RESOLVED IN svn://svn.zabbix.com/branches/dev/ZBX-5629

        Show
        Oleg Egorov added a comment - RESOLVED IN svn://svn.zabbix.com/branches/dev/ZBX-5629
        Hide
        Alexander Vladishev added a comment -

        Fixed in pre-2.0.4 r30570 and pre-2.1.0 (trunk) r30571.

        Show
        Alexander Vladishev added a comment - Fixed in pre-2.0.4 r30570 and pre-2.1.0 (trunk) r30571.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: