/[Apache-SVN]
ViewVC logotype

Revision 1044335


Jump to revision: Previous Next
Author: mfojtik
Date: Fri Dec 10 13:00:20 2010 UTC (13 years, 4 months ago)
Changed paths: 5
Log Message:
Wrap error messages and details in CDATA

The xml parser used by nokogiri-java (xerces) is much more strict about
unescaped entities, and causes nokogiri to ignore nodes containing them.
Wrapping the content in CDATA blocks fixes this.

Note: this fix does not use the haml :cdata filter, since you cannot
strip whitespace inside the filter.

Changed paths

Path Details
Directoryincubator/deltacloud/trunk/server/lib/deltacloud/helpers/application_helper.rb modified , text changed
Directoryincubator/deltacloud/trunk/server/views/errors/auth_exception.xml.haml modified , text changed
Directoryincubator/deltacloud/trunk/server/views/errors/backend_capability_failure.xml.haml modified , text changed
Directoryincubator/deltacloud/trunk/server/views/errors/backend_error.xml.haml modified , text changed
Directoryincubator/deltacloud/trunk/server/views/errors/validation_failure.xml.haml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26