[Geoserver-devel] [jira] (GEOS-5780) Base64 encoded image/png data in multipart WCS GetCoverage response has extra characters at end

Elridge D’Mello created BugGEOS-5780
Base64 encoded image/png data in multipart WCS GetCoverage response has extra characters at end

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

18/Apr/13 1:45 PM

Description:

We made a WCS GetCoverage request and got a multipart response back from GeoServer. The response contained a base64 encoded image (PNG format). We noticed that the base64 encoded image data that was sent back had extra characters at the very end, after the ‘=’ character, which is a terminator for base64 encoding. The extra characters cause the image to not render in Chromium (version 24.0.1312.56), and FireFox (version 19.0). The extra characters in the response appear to be ignored in Safari and it is able to render the image. The characters after the last ‘=’ character appear to be a bug. For now we are working around the issue by stripping the extra characters in the client.

Entire multipart response can be found here: http://nopaste.info/1b1589fc90.html
The extra characters, ‘AAAAAElFTkSuQmCC’ are at the very end of the response.

The GeoServer information is listed below:

Version
2.3-SNAPSHOT

Git Revision
33da7e570f18c23084d67702d921cab40cec1cde

Build Date
11-Apr-2013 03:40

GeoTools Version
9-SNAPSHOT (rev e757a66c6744d7f944db07a920b9f2632c0afde9)

GeoWebCache Version
1.4-SNAPSHOT (rev 2fc30e12be8678d10fe74d9b82faab1b0ab640de/2fc30e12be8678d10fe74d9b82faab1b0ab640de)

Environment:

Windows Server 2008 R2 Standard, 64bit OS, 8GB RAM

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Elridge D’Mello

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)