Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2495

JavaScript/Node string constants lack proper escaping

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      In my .thrift file, I have an optional field with a default value of "
      ". In java generated code it is properly set to "
      ", but in the node.js code it results in "\" which results in an error.

      Attachments

        1. test.thrift
          0.1 kB
          John Vines
        2. thrift-2495-js-missing-escaping.patch
          0.8 kB
          Jens Geyer

        Activity

          People

            jensg Jens Geyer
            vines John Vines
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: