Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-12447

Multi-deploy via the UI converts plus signs to spaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 4.12.1
    • Fix Version/s: 6.10.0
    • Component/s: None
    • Labels:
    • Severity:
      Medium

      Description

      Deploying files through the UI using the multi-deploy option converts plus signs in file names/paths to spaces.

      1. Browse to any repository and chose "deploy," then select "multi."
      2. Upload one or more files with plus signs in the name.
      3. Deploy.

      Plus signs in file names will be decoded to spaces. The post data contains the correct file names (see "step3"), but the pluses are decoded somewhere after the post.

      Although the UI looks like there's only one space, checking the actual file names confirms that each plus is decoded to a space (see "results").

      This doesn't happen if you use the single file deployment, but does if you deploy a singe file through the multi-deploy option. It also happens if you deploy with a target path through multi-deploy (pluses in both the path and file name are decoded).

      Behavior was verified in 4.11.2 and 4.12.1.

      Test files can be obtained here: https://www.rpmfind.net/linux/rpm2html/search.php?query=gcc-c++

        Attachments

        1. results.png
          results.png
          106 kB
        2. step1.png
          step1.png
          341 kB
        3. step2.png
          step2.png
          416 kB
        4. step3.png
          step3.png
          533 kB

          Activity

            People

            Assignee:
            matang Matan Gotlieb
            Reporter:
            mikem Mike Mitchell (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-12447 -
                SYNCHRONIZED
                • Last Sync Date: