Hi ProGet team,
I’ve encountered an issue when uploading Maven packages to ProGet that use non-standard version strings starting with a character.
Example:
- Package name:
package-alpha-0.1.pom
- Version:
alpha-0.1
When I upload this package and then try to access the .pom file directly from the feed, instead of downloading the file as usual, the browser is redirected to a page ending with / (e.g., .../package-alpha-0.1/), rather than returning the file contents.
However, this behavior does not occur when the non-standard version starts with a number.
For example:
0.1_a-l-p-h-a works correctly — the .pom file is downloaded normally.
Steps to Reproduce:
- Upload a Maven package with a non-standard version starting with a letter (e.g.
alpha-0.1).
- Attempt to access the
.pom file directly from the feed URL.
- Observe that the request is redirected to a URL ending in
/ instead of downloading the file.
Expected Behavior:
Accessing the .pom file should return the file contents directly, similar to when using a numeric-starting version.
Actual Behavior:
Accessing the .pom file with a version starting with a character causes a redirect, preventing the file from being downloaded.
Questions:
- Is this the expected behavior in ProGet for non-standard Maven versions?
- If not, how can I configure ProGet or the Maven feed so that files with such versions are handled correctly (i.e., downloaded instead of redirected)?
Environment:
- ProGet version: 25.0.12; container
- Feed type: Maven
- Client: Browser / curl
Thanks for your help!