PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

GsaFeedConnection.sendData uses a Writer to write bytes. #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Read the source.

What is the expected output? What do you see instead?

The sendData method is reading bytes from an InputStream but treating those
bytes as Java characters and writing them to the GSA using an
OutputStreamWriter. This is at best pointless but benign and at worst
corrupts the data. The URL-encoded stream is pretty safe, since it uses a
subset of ASCII, but the OutputStreamWriter uses the platform default
encoding, and that is not guaranteed to be a superset of ASCII.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jl1615@gmail.com on 19 Jan 2007 at 9:24

GoogleCodeExporter commented 8 years ago
Brian, please add to backlog.

Original comment by donald.z...@gmail.com on 24 Jan 2007 at 11:49

GoogleCodeExporter commented 8 years ago
Google Bug #243978

Original comment by vjo...@gmail.com on 9 Feb 2007 at 4:07

GoogleCodeExporter commented 8 years ago
Checked in to svn: R326.

Original comment by mgron...@gmail.com on 3 Oct 2007 at 9:29

GoogleCodeExporter commented 8 years ago

Original comment by mgron...@gmail.com on 3 Oct 2007 at 10:48