Skip to content

Not valid processing of 'Origin' http header [SPR-13525] #18102

@spring-projects-issues

Description

@spring-projects-issues

Slawomir Dabrowski opened SPR-13525 and commented

When 'Origin' HTTP's header value contains IP in version 6, method org.springframework.web.util.UriComponentsBuilder.fromOriginHeader throws exception.

Exception is throw during parsing such address.

My HTTP header : {'Origin' = 'http://[::1]:8080'}


Affects: 4.2.1

Referenced from: commits 1c6febc

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions