-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.10, 9.1, 9.3-SNAPSHOT
-
Release Notes Summary:The REST API handles external user Id when it contains forward slashes
-
Tags:
-
Sprint:nxfit 9.3.7
-
Story Points:3
When calling the rest api user endpoint with external user id transient/zzz@zzz.zz/b492b19ea89d420e?
ex:
http://localhost:8080/nuxeo/api/v1/repo/default/user/transient/zzz@zzz.zz/b492b19ea89d420e?
response:
{"entity-type":"exception","code":"org.nuxeo.ecm.webengine.model.exceptions.WebResourceNotFoundException","status":404,"message":"user does not exist"}
this is probably caused by:
nuxeo-features/rest-api/nuxeo-rest-api-server/src/main/java/org/nuxeo/ecm/restapi/server/jaxrs/usermanager/AbstractUMRootObject.java
@Path("{artName}") public Object getArtifactWebObject(@PathParam("artName") String artName) ...
it ignores everything after forward slash.