Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5713

Change path parameter token for go-json-rest to use pound '#'

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.3, 3.3.1
    • Labels:
    • Sprint:
      MEN Sprint 168
    • Story Points:
      5
    • Backlog:
      yes
    • Days in progress:
      3

      Description

      The path parameter notation using colon stops the parameter parsing at the next forward slash '/' or the next period '.' in which the latter case may lead to unexpected behavior for some endpoint. To avoid this from happening, make sure that all path parameters for existing repositories using the go-json-rest package to switch to the pound token '#' for path parameters.

      Acceptance criteria:

      • Replace the path parameter tokens for the following backend services:
        • deviceauth
        • inventory
        • useradm
        • tenantadm

        Attachments

          Activity

            People

            Assignee:
            merlin Peter Grzybowski
            Reporter:
            alfrunes Alf-Rune Siqveland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: