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

javascript error if user media contains doublequote

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3rc1
    • Fix Version/s: 2.0.4rc1, 2.1.0
    • Component/s: Frontend (F)
    • Labels:

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: