Commit e768e20
committed
fix: correct defaults in spring-configuration-metadata.json and align urlmapping cache size
Addresses review feedback from matrei on #15426, reflecting the state after PR #15574 removed redundant defaults from generated application.yml files.
- grails.urlmapping.cache.maxsize: change DEFAULT_MAX_WEIGHTED_CAPACITY in DefaultUrlMappingsHolder from 5000 to 1000 so the code default matches the documented value (the generated application.yml value removed in #15574).
- grails.views.default.codec: correct defaultValue from 'none' to 'html' and clarify it is the fallback for the grails.views.gsp.codecs.* properties.
- grails.views.gsp.htmlcodec: remove misleading 'xml' default and describe the actual behavior (when unset, the legacy HTML4-compatible encoder is used; setting it to 'xml' or 'xhtml' selects the XML-safe encoder).
- grails.mime.disable.accept.header.userAgents: correct defaultValue from [] to ['Gecko', 'WebKit', 'Presto', 'Trident'] to match the regex baked into HttpServletResponseExtension.
Assisted-by: sisyphus:claude-opus-4-71 parent c0bd6ec commit e768e20
3 files changed
Lines changed: 6 additions & 7 deletions
File tree
- grails-gsp/plugin/src/main/resources/META-INF
- grails-web-core/src/main/resources/META-INF
- grails-web-url-mappings/src/main/groovy/org/grails/web/mapping
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
| 202 | + | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments