Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
http://CSD:password:liberia-staging.mhero.org:5001/static/USAID_CP_IH_PEPFAR_logos.png
Should return the image here:
https://github.com/openhie/openinfoman/blob/master/webapp/static/USAID_CP_IH_PEPFAR_logos.png
which has file length 93730,but instead returns a file of length 174504.
Looking at the hex representation, it seems that (starting a offeset 0) we have:
89 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52 00 00 03 92
becomes:
EF BF BD 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52 00 00 03 EF BF BD
maybe is is a UTF-8 encoding issue?
The text was updated successfully, but these errors were encountered:
Note, I am not sure if this also affects incoming binary data to OpenHIM. As you fix this bug, would you mind adding a test case to check incoming as well. Thanks!
Sorry, something went wrong.
Thanks Carl, good point. We will check this out. Btw, if you guys would like to work on these, feel free to submit PRs.
binary data is now returned without getting munged. fixes #171
08def3a
Merge pull request #171 from jembi/mediator-update
528ee9d
Mediator update - closes #170
Successfully merging a pull request may close this issue.
Example:
Should return the image here:
which has file length 93730,but instead returns a file of length 174504.
Looking at the hex representation, it seems that (starting a offeset 0) we have:
becomes:
maybe is is a UTF-8 encoding issue?
The text was updated successfully, but these errors were encountered: