tonyhammond / openhandle

[LEGACY] A service for exposing Handle System values
0 stars 0 forks source link

Escaping of data values #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The bug reported here is for RDF/XML with ampersands not turned into
entities. See
[http://nascent.nature.com/openhandle/handle?id=10.2277/0521853575&format=rdf&mi
metype=application/xml
here].

But should review generally how to escape the data values for each
respective  serialization: really just XML (RDF/XML) or string (RDF/N3, JSON).

Original issue reported on code.google.com by tony.ham...@gmail.com on 22 Mar 2008 at 1:10

GoogleCodeExporter commented 9 years ago
Yikes. I'll get on that - definitely needs to be eradicated. What we need to do 
is
ensure that properties that can possibly contain invalid characters are encoded 
prior
to the handle response object being passed to the template.

Are we primarily talking about HandleValueAdapter.getData() (in templates:
${value.data}) here?

Original comment by christop...@gmail.com on 12 Apr 2008 at 10:31