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

Unicode in JSON From Dependent Item Broken

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.4.10rc1, 4.0.0alpha7, 4.0 (plan)
    • 3.4.8
    • Server (S)
    • zabbix_server (Zabbix) 3.4.8
      Revision 79252 3 April 2018, compilation time: Apr 3 2018 10:48:29

      Debian 9.4 x64

      mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
    • Sprint 32, Sprint 33
    • 6

      I use an external script to retrieve a JSON that contains a String, that has Unicode characters in it, e.g. ü, which is U+00FC, or ä, which is U+00E4. It is escaped as '\u00e4' inside the value returned by the external script. When I look into the history of the "External Check" item, I see the raw json string with the escaped unicode:

      {"DeviceLog": "IPv6-Pr\u00e4fix"}

      When this gets filtered by a "Dependent item" item with the "JSON Path" "$.DeviceLog", the item's value becomes "IPv6-Pr?fix". If it encounters a "\u00E4", the dependent item stops there.

       

            andris Andris Mednis
            maxried@posteo.de Max Ried
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: