Wrong Location returned after a PUT on a binary collection

Description

With this call:

curl -v -X PUT -F "file=@a.png;filename=a.png" -u andrea.leo@address.com:secret http://localhost:8080/it/v1-snapshot/userspics.files/andrealeo

I get :

  • 201 response status

  • location header with duplicate name "/andrealeo/andrealeo"

http://localhost:8080/it/v1-snapshot/userspics.files/andrealeo/andrealeo

I expect : http://localhost:8080/it/v1-snapshot/userspics.files/andrealeo

Environment

None

Status

Assignee

Maurizio Turatti

Reporter

andrea leo

Labels

None

Fix versions

Affects versions

3.0.0

Priority

Major
Configure