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

Unicode in JSON From Dependent Item Broken

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.4.8
    • Fix Version/s: 3.4.10rc1, 4.0.0alpha7, 4.0 (plan)
    • Component/s: Server (S)
    • Environment:
      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
    • Team:
      Team A
    • Sprint:
      Sprint 32, Sprint 33
    • Story Points:
      6

      Description

      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.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: