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

RESTCONF: URL doesn't support Chinese chactacter

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • restconf-nb
    • None
    • Operating System: All
      Platform: All

    • 6576

    Description

      For example

      Reference yang:

      container test-chinese {
      config true;

      list item-list {
      key id;
      leaf id

      { type string; }

      }
      }

      GET on URL http://localhost:8181/restconf/config/dsbenchmark:test-chinese/

      The result as follow:

      <test-chinese xmlns="urn:opendaylight:params:xml:ns:yang:dsbenchmark">
      <item-list>
      <id>TEST</id>
      </item-list>
      <item-list>
      <id>隧道策略</id>
      </item-list>
      </test-chinese>

      GET on URL http://localhost:8181/restconf/config/dsbenchmark:test-chinese/item-list/TEST

      The result as follow:

      <item-list xmlns="urn:opendaylight:params:xml:ns:yang:dsbenchmark">
      <id>TEST</id>
      </item-list>

      GET on URL http://localhost:8181/restconf/config/dsbenchmark:test-chinese/item-list/隧道策略

      The result as follow Failed:

      applicationdata-missingRequest could not be completed because the relevant data model content does not exist

      Attachments

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

        Activity

          People

            jakubtoth-0 Jakub Toth
            he.yunbo@zte.com.cn HeYunBo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: