[seek-dev] [Bug 4432] - AuthenticatedQueryService corrupts binary files (Zip) on download

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Oct 1 12:09:14 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4432





------- Comment #1 from leinfelder at nceas.ucsb.edu  2009-10-01 12:09 -------
Turns out this is a MetacatClient bug at it's core.
MC was returning a Reader for all read() calls. But this uses characters and is
not appropriate for binary data (ie a Zip file).
Changing the method to return an InputStream - then we can handle both text and
binary


More information about the Seek-dev mailing list