You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If server supports both xml and json formats, it is possible to add resource with an unicode with json, but if someone reads or search this resource with XML format, STaX exception is raised. Server will return 200 OK without any content.
This error occurs in my system that uses HAPI FHIR Server as well as on the hapi fhir test server.
I used https://hapi.fhir.org/baseR4 to reproduce the error.
Read or search for this resource with Accept: application/fhir+xml
Expected behavior
Probably character should be escaped or removed.
The text was updated successfully, but these errors were encountered:
nieciecki
changed the title
STaX raised exception when reading resource with Unicode character
STaX exception raised when reading resource with Unicode character
Jan 29, 2025
Description
If server supports both xml and json formats, it is possible to add resource with an unicode with json, but if someone reads or search this resource with XML format, STaX exception is raised. Server will return 200 OK without any content.
This error occurs in my system that uses HAPI FHIR Server as well as on the hapi fhir test server.
I used https://hapi.fhir.org/baseR4 to reproduce the error.
Steps to reproduce the behavior:
{ "resourceType": "NamingSystem", ... "uniqueId": [ { ... "comment": "\u0001" } ] }
Expected behavior
Probably character should be escaped or removed.
The text was updated successfully, but these errors were encountered: