-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Oliver Drotbohm opened SPR-6195 and commented
Currently the by default registered StringArrayPropertyEditor
does not trim the String parts of the resulting array. This leads to subtle errors, e.g. if you configure the supported HTTP methods on an WebContentGenerator
as follows:
..
<property name="supportedMethods" value="GET, POST, HEAD, DELETE" />
..
(note the spaces) this does not work, as the comparison with the actual request method is a hard equals. I think trimming the String is a sensible default.
Affects: 3.0 RC1
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement