Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-388

Change URI decoding from ISO-8859-1 to UTF-8

    XMLWordPrintable

Details

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

    • 8115

    Description

      If I want to get data from data model which node_id = MSAN1γƒŽγƒΌγƒ‰ I must call

      curl --user admin:admin -v http://$ODL_HOST:8181/restconf/config/network-topology:network-topology/topology/topology-area1-pw/node/MSAN1%e3%83%8e%e3%83%bc%e3%83%89 -H "Content-Type: application/yang.data+json" -X GET

      The Restconf return me error:

      {
      "errors":{
      "error":[

      { "error-type":"application", "error-tag":"data-missing", "error-message":"Request could not be completed because the relevant data model content does not exist " }

      ]
      }
      }

      Problem is in decoding of MSAN1%e3%83%8e%e3%83%bc%e3%83%89. Because the char set is set on ISO-8859-1. And should be on UTF-8

      Attachments

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

        Activity

          People

            ivan.hrasko@pantheon.tech Ivan Hrasko
            lbeles@frinx.io Lukas Beles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: