sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.9k stars 560 forks source link

404 error when accessing role with slashes in id #430

Open beatstream69 opened 1 month ago

beatstream69 commented 1 month ago

I can create role with id and name "/Projects/Test". In the roles list I can see it, but when I try to edit, I've got 404 error, so it can't even be deleted. Same with api.

brenuart commented 1 month ago

When using the REST API you probably have to url encode the role id. Does it work better when using `%2FProjects%2FTestˋ ?

beatstream69 commented 1 month ago

In the Nexus web GUI (and swagger) it is urlencoded. Also I've tried both variants with curl. All returns 404.