This repository was archived by the owner on Oct 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
main/groovy/org/grails/plugins/web/taglib
test/groovy/org/grails/web/taglib Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ dependencies {
1818 api project(" :grails-web-gsp-taglib" )
1919
2020 runtimeOnly(project(" :grails-web-jsp" ))
21- api " commons-lang :commons-lang:2.6 "
21+ api " org.apache. commons:commons-text:1.1 "
2222 api " org.grails:grails-plugin-codecs:$grailsVersion "
2323 astImplementation " org.grails:grails-web:$grailsVersion "
2424 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
1919import grails.gsp.TagLib
2020import groovy.transform.CompileStatic
2121import groovy.xml.MarkupBuilder
22- import org.apache.commons.lang .StringEscapeUtils
22+ import org.apache.commons.text .StringEscapeUtils
2323import org.grails.encoder.CodecLookup
2424import org.grails.encoder.Encoder
2525import org.grails.taglib.GroovyPageAttributes
@@ -265,7 +265,7 @@ class ValidationTagLib implements TagLibrary {
265265 error(object : it. objectName,
266266 field : it. field,
267267 message : message(error : it)?. toString(),
268- ' rejected-value' : StringEscapeUtils . escapeXml (it. rejectedValue))
268+ ' rejected-value' : StringEscapeUtils . escapeXml10 (it. rejectedValue))
269269 })
270270 }
271271 }
Original file line number Diff line number Diff line change 11package org.grails.web.taglib
22
33import groovy.xml.XmlSlurper
4- import org.apache.commons.lang .WordUtils
4+ import org.apache.commons.text .WordUtils
55import org.junit.jupiter.api.Test
66import org.springframework.context.MessageSourceResolvable
77import org.springframework.web.servlet.support.RequestContextUtils as RCU
You can’t perform that action at this time.
0 commit comments