Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5.3
-
None
Description
On or around line 234, interpolation of settings assumes XML:
interpolator.addPostProcessor( new InterpolationPostProcessor() { @Override public Object execute( String expression, Object value ) { if ( value != null ) { // we're going to parse this back in as XML so we need to escape XML markup value = value.toString().replace( "&", "&" ).replace( "<", "<" ).replace( ">", ">" ); return value; } return null; } } );
The value being interpolated here is the result of a SettingsWriter's output. Obviously this kind of escaping doesn't make any sense if the SettingsWriter in question is not XML-based.
Attachments
Issue Links
- relates to
-
MSITE-933 mvn site fails when <name> contains &
- Closed