Skip to content

ContentDisposition::parse does not support Windows paths #30111

@xg578962913

Description

@xg578962913

use Spring6, the browser is Edge's IE mode
In the past, using IE browser will get the full path of the file, while other browsers will get the file name
When I use Spring6 and IE Mode of Edge to upload a file, the obtained file name does not contain the path separator
like this:
The correct path is D:\images\01\1.png
But now I got the wrong file path: D:images011.png
image
The separator in the path disappears and the reserved ":"

In Spring 5:
image

It seems to be related to #28837
image
image

The ContentDisposition.parse method returned an incorrect result

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regression

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions