Escape URLs in maven repository redirects
For projects with spaces in the name, the maven API website is sending a 302 redirect, and it is including the space in the location header of the HTTP response. It should be escaping the spaces in the response.
This means that gradle can't use mods with spaces in their name. For example, if I put this in my build.gradle:
deobfProvided "v0ids-smart-backpacks:V0id's Smart Backpacks:1.0.6"
Gradle gets the redirect:
15:46:41.075 [DEBUG] [org.gradle.internal.resource.transport.http.AlwaysRedirectRedirectStrategy] Redirect requested to location 'https://edge.forgecdn.net/files/2618/300/V0id's Smart Backpacks-1.0.6.jar'
But the URL is invalid, and it can't resolve it:
java.net.URISyntaxException: Illegal character in path at index 47: https://edge.forgecdn.net/files/2618/300/V0id's Smart Backpacks-1.0.6.jar
Hello, and thank you for taking the time to submit your idea! We are looking into this suggestion internally and will update this page once a final decision has been made. Please add any additional details that you think would be helpful in the comments! We are Listening!