Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-311

Strings with certain special characters in JSON cause RESTCONF to return 400 Bad Request

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: All
      Platform: All

    • 720

    Description

      I have a config datastore model in yang, which contains a string field.

      When I try to push a new entry via Restconf using JSON, if this string has a colon in it, it gets rewritten. For example, if my original string is "openflow:21", what appears in the datastore is "[openflow - 21]".

      When using XML, this does not happen; the original string appears in the datastore.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jgloncak Jozef Gloncak
            zoltan.lajos.kis@ericsson.com Zoltan Lajos Kis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: