The hash comparison in Health.Direct.Common.Metadata.SetHash() is calculating
the hash as an uppercase string, then comparing it to the supplied hash using a
case-sensitive comparison.
In the IHE specs I've seen, the case of the hash is not specified, but the
examples provided use lowercase.
The comparison should be case-insensitive. Also consider changing the
calculated hash to lowercase for consistency.
Original issue reported on code.google.com by frank.ra...@siemens.com on 16 Mar 2011 at 10:13
Original issue reported on code.google.com by
frank.ra...@siemens.com
on 16 Mar 2011 at 10:13