From ad7c2e2c037b4e9cdfe8435290316041141d267e Mon Sep 17 00:00:00 2001 From: "jiaqing.kuang" Date: Fri, 2 Aug 2024 15:23:10 +0800 Subject: [PATCH] %2B should not be encoded to + --- .../nexus/content/raw/internal/recipe/RawProxyFacet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nexus-repository-raw/src/main/java/org/sonatype/nexus/content/raw/internal/recipe/RawProxyFacet.java b/plugins/nexus-repository-raw/src/main/java/org/sonatype/nexus/content/raw/internal/recipe/RawProxyFacet.java index 1b906f26b8..607963962f 100644 --- a/plugins/nexus-repository-raw/src/main/java/org/sonatype/nexus/content/raw/internal/recipe/RawProxyFacet.java +++ b/plugins/nexus-repository-raw/src/main/java/org/sonatype/nexus/content/raw/internal/recipe/RawProxyFacet.java @@ -35,7 +35,7 @@ public class RawProxyFacet extends ContentProxyFacetSupport { - private static final ImmutableSet CHARS_TO_ENCODE = ImmutableSet.of("^", "#", "?", "\u202F"); + private static final ImmutableSet CHARS_TO_ENCODE = ImmutableSet.of("^", "#", "?", "\u202F", "+"); @Override protected Content getCachedContent(final Context context) throws IOException {