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

Ruby TJSONProtocol fails to unescape string values

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ruby - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      It does try to unescape characters but fails to do so because it uses single quotes for unescape results:

              '"', '\\', '/', '\b', '\f', '\n', '\r', '\t',
      

      End result was the exactly same unescaped characters as input text.

        Attachments

          Activity

            People

            • Assignee:
              nsuke Nobuaki Sukegawa
              Reporter:
              nsuke Nobuaki Sukegawa

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment