Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-753

trace JSON doesn't support single-quotes in string values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Private Beta
    • None
    • util

    Description

      After adding support for VLOG_TRACE(), I noticed that if we have any trace argument with a single quote in it, it breaks the JSON. That's because we are using CEscape() for JSON escaping, but JSON apparently freaks out if it sees a \' in it. I guess we need to use a different escaping function.

      Attachments

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: