spring-projects / spring-projects/spring-data-rest
@Crossorigin Put Requests to association resources not working anymore [DATAREST-1569]
Open
@odrotbohm is already working on this.
Since Dec 31, 2020.
in: repository
type: bug
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
ajobra opened DATAREST-1569 and commented
Starting with 2.3.2 Spring data Rest and also in 2.3.3 Put Requests to association resources of Content-Type: text/uri-list are not working anymore, although the annotations @RepositoryRestResource
@CrossOrigin are present. Browser shows No Access-Control-Allow-Origin header is present on the requested resource.
In 2.3.1 and earlier versions the approach worked
Affects: 3.3.4 (Neumann SR4)
Reference URL: https://github.com/spring-projects/spring-boot/issues/22957
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.