Nexus 3: raw proxy repository fails for url containing %












0















I've set up a raw proxy for http://downloads.sourceforge.net called http.downloads.sourceforge.net in Nexus OSS 3.11.
It works fine for most URL, e.g.



http://nexus:8081/repository/http.downloads.sourceforge.net/libpng/zlib/1.2.11/zlib-1.2.11.tar.xz



but fails with ERROR 400: Invalid repository path.
for an URL containing percentage signs, e.g.
http://nexus:8081/repository/http.downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz



The original URL http://downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz works fine, tested it with wget.



Is this a problem within Nexus or am I doing something wrong here?










share|improve this question



























    0















    I've set up a raw proxy for http://downloads.sourceforge.net called http.downloads.sourceforge.net in Nexus OSS 3.11.
    It works fine for most URL, e.g.



    http://nexus:8081/repository/http.downloads.sourceforge.net/libpng/zlib/1.2.11/zlib-1.2.11.tar.xz



    but fails with ERROR 400: Invalid repository path.
    for an URL containing percentage signs, e.g.
    http://nexus:8081/repository/http.downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz



    The original URL http://downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz works fine, tested it with wget.



    Is this a problem within Nexus or am I doing something wrong here?










    share|improve this question

























      0












      0








      0








      I've set up a raw proxy for http://downloads.sourceforge.net called http.downloads.sourceforge.net in Nexus OSS 3.11.
      It works fine for most URL, e.g.



      http://nexus:8081/repository/http.downloads.sourceforge.net/libpng/zlib/1.2.11/zlib-1.2.11.tar.xz



      but fails with ERROR 400: Invalid repository path.
      for an URL containing percentage signs, e.g.
      http://nexus:8081/repository/http.downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz



      The original URL http://downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz works fine, tested it with wget.



      Is this a problem within Nexus or am I doing something wrong here?










      share|improve this question














      I've set up a raw proxy for http://downloads.sourceforge.net called http.downloads.sourceforge.net in Nexus OSS 3.11.
      It works fine for most URL, e.g.



      http://nexus:8081/repository/http.downloads.sourceforge.net/libpng/zlib/1.2.11/zlib-1.2.11.tar.xz



      but fails with ERROR 400: Invalid repository path.
      for an URL containing percentage signs, e.g.
      http://nexus:8081/repository/http.downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz



      The original URL http://downloads.sourceforge.net/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz works fine, tested it with wget.



      Is this a problem within Nexus or am I doing something wrong here?







      proxy nexus sonatype






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 12:27









      Joerg AlbertJoerg Albert

      41




      41
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I believe this is a bug in NXRM. I've created https://issues.sonatype.org/browse/NEXUS-18610 to hopefully get it fixed or responded to.






          share|improve this answer



















          • 1





            Thanks for creating the bug report! I wasn't sure if I wasn't doing something stupid here - Nexus is quite new for me.

            – Joerg Albert
            Dec 2 '18 at 11:38











          • @JoergAlbert NP, there is also a community site community.sonatype.com where you can ask Qs if you get stuck. SO users can prefer SO but all "nexus" focused over there=)

            – joedragons
            Dec 3 '18 at 21:25











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412043%2fnexus-3-raw-proxy-repository-fails-for-url-containing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          I believe this is a bug in NXRM. I've created https://issues.sonatype.org/browse/NEXUS-18610 to hopefully get it fixed or responded to.






          share|improve this answer



















          • 1





            Thanks for creating the bug report! I wasn't sure if I wasn't doing something stupid here - Nexus is quite new for me.

            – Joerg Albert
            Dec 2 '18 at 11:38











          • @JoergAlbert NP, there is also a community site community.sonatype.com where you can ask Qs if you get stuck. SO users can prefer SO but all "nexus" focused over there=)

            – joedragons
            Dec 3 '18 at 21:25
















          0














          I believe this is a bug in NXRM. I've created https://issues.sonatype.org/browse/NEXUS-18610 to hopefully get it fixed or responded to.






          share|improve this answer



















          • 1





            Thanks for creating the bug report! I wasn't sure if I wasn't doing something stupid here - Nexus is quite new for me.

            – Joerg Albert
            Dec 2 '18 at 11:38











          • @JoergAlbert NP, there is also a community site community.sonatype.com where you can ask Qs if you get stuck. SO users can prefer SO but all "nexus" focused over there=)

            – joedragons
            Dec 3 '18 at 21:25














          0












          0








          0







          I believe this is a bug in NXRM. I've created https://issues.sonatype.org/browse/NEXUS-18610 to hopefully get it fixed or responded to.






          share|improve this answer













          I believe this is a bug in NXRM. I've created https://issues.sonatype.org/browse/NEXUS-18610 to hopefully get it fixed or responded to.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 28 '18 at 23:19









          joedragonsjoedragons

          608813




          608813








          • 1





            Thanks for creating the bug report! I wasn't sure if I wasn't doing something stupid here - Nexus is quite new for me.

            – Joerg Albert
            Dec 2 '18 at 11:38











          • @JoergAlbert NP, there is also a community site community.sonatype.com where you can ask Qs if you get stuck. SO users can prefer SO but all "nexus" focused over there=)

            – joedragons
            Dec 3 '18 at 21:25














          • 1





            Thanks for creating the bug report! I wasn't sure if I wasn't doing something stupid here - Nexus is quite new for me.

            – Joerg Albert
            Dec 2 '18 at 11:38











          • @JoergAlbert NP, there is also a community site community.sonatype.com where you can ask Qs if you get stuck. SO users can prefer SO but all "nexus" focused over there=)

            – joedragons
            Dec 3 '18 at 21:25








          1




          1





          Thanks for creating the bug report! I wasn't sure if I wasn't doing something stupid here - Nexus is quite new for me.

          – Joerg Albert
          Dec 2 '18 at 11:38





          Thanks for creating the bug report! I wasn't sure if I wasn't doing something stupid here - Nexus is quite new for me.

          – Joerg Albert
          Dec 2 '18 at 11:38













          @JoergAlbert NP, there is also a community site community.sonatype.com where you can ask Qs if you get stuck. SO users can prefer SO but all "nexus" focused over there=)

          – joedragons
          Dec 3 '18 at 21:25





          @JoergAlbert NP, there is also a community site community.sonatype.com where you can ask Qs if you get stuck. SO users can prefer SO but all "nexus" focused over there=)

          – joedragons
          Dec 3 '18 at 21:25


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412043%2fnexus-3-raw-proxy-repository-fails-for-url-containing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown