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

[deployments] Configuration deployment download endpoint not URL-encoded

    XMLWordPrintable

    Details

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

      Description

      If your device type contains any special url characters (e.g. '/', '?' or '&') the resulting URL will resolve in a non-existing endpoint and return 404.

       

      Acceptance criteria:

      • Make sure all the URL parameters are properly URL-encoded before sending it to the device
      • Decode the parameters in the API handler for the download endpoint

        Attachments

          Activity

            People

            Assignee:
            alfrunes Alf-Rune Siqveland
            Reporter:
            alfrunes Alf-Rune Siqveland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: