Forum Discussion
richmon
12 years agoOccasional Contributor
I attempted to perform the work-around as suggested.
I must be doing something wrong.
I'm receiving groovy.lang.MissingMethodException (s)
Please advise.
Thanks in Advance,
Rich
I must be doing something wrong.
- Unzipped the tgz file into bin/ext (it created /bombstrip-9 directory)
- Created/Modified RequestFilter.afterRequest event
- added the following code to that envent
log.info "Enter RequestFilter.afterRequest Event"
// get response content
def content = context.httpResponse.responseContent
// manipulate content
log.info "Message before replace series"
// account for poorly defined symbols
content = content.replaceAll( "<", "<" )
content = content.replaceAll( ">", ">" )
content = content.BomStrip(content)
//content = content.BomStrip()
//content = content.BomStrip()
// write it back
context.httpResponse.responseContent = content
log.info "Message after replace series"
log.info( content )
log.info "Exit RequestFilter.afterRequest Event"
I'm receiving groovy.lang.MissingMethodException (s)
Please advise.
Thanks in Advance,
Rich