Skip to content

Improve prefix detection in StringUtils.cleanPath [SPR-11793] #16414

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-11793 and commented

Currently cleanPath stops at the first semicolon assuming a protocol prefixed path (e.g. "file:core/../core/io/Resource.class"). This is a bit too simple since technically a semicolon is also allowed in a directory name, even if unusual.


Affects: 3.2.8, 4.0.4

Backported to: 3.2.9

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions