This repository was archived by the owner on Mar 10, 2025. It is now read-only.
File tree 3 files changed +5
-4
lines changed
main/groovy/org/grails/plugins/web/taglib
test/groovy/org/grails/web/taglib
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ dependencies {
18
18
api project(" :grails-web-gsp-taglib" )
19
19
20
20
runtimeOnly(project(" :grails-web-jsp" ))
21
- api " commons-lang:commons-lang:2.6"
21
+ api " org.apache.commons:commons-lang3:3.17.0"
22
+ api " org.apache.commons:commons-text:1.1"
22
23
api " org.grails:grails-plugin-codecs:$grailsVersion "
23
24
astImplementation " org.grails:grails-web:$grailsVersion "
24
25
astImplementation " org.grails:grails-plugin-controllers:$grailsVersion "
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import grails.artefact.TagLibrary
19
19
import grails.gsp.TagLib
20
20
import groovy.transform.CompileStatic
21
21
import groovy.xml.MarkupBuilder
22
- import org.apache.commons.lang .StringEscapeUtils
22
+ import org.apache.commons.text .StringEscapeUtils
23
23
import org.grails.encoder.CodecLookup
24
24
import org.grails.encoder.Encoder
25
25
import org.grails.taglib.GroovyPageAttributes
@@ -265,7 +265,7 @@ class ValidationTagLib implements TagLibrary {
265
265
error(object : it. objectName,
266
266
field : it. field,
267
267
message : message(error : it)?. toString(),
268
- ' rejected-value' : StringEscapeUtils . escapeXml (it. rejectedValue))
268
+ ' rejected-value' : StringEscapeUtils . escapeXml10 (it. rejectedValue))
269
269
})
270
270
}
271
271
}
Original file line number Diff line number Diff line change 1
1
package org.grails.web.taglib
2
2
3
3
import groovy.xml.XmlSlurper
4
- import org.apache.commons.lang .WordUtils
4
+ import org.apache.commons.lang3.text .WordUtils
5
5
import org.junit.jupiter.api.Test
6
6
import org.springframework.context.MessageSourceResolvable
7
7
import org.springframework.web.servlet.support.RequestContextUtils as RCU
You can’t perform that action at this time.
0 commit comments