ZABBIX BUGS AND ISSUES

javascript error if user media contains doublequote

Details

  • Zabbix ID:
    RTF

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
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: