Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
4.4.4, 5.0.6
-
4.04
-
Severity 3 - Minor
-
-
Description
When trying to configure the look And Feel with a image embbedded in JAR, using the download/resources servlet, we have the following error displayed :
Failed to upload image from URL https://mydomain/jira/download/resources/my.plugin.id:moduleId/logo.png.
The MIME type image/png;charset=UTF-8 is unsupported. PNG, JPG and GIF images are the only supported formats.
I make different tries for forcing the charset, but not effect ... Last try is like that :
<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2"> ... <web-resource key="alstom-lnf"> <context>atl.general</context> <context>atl.admin</context> <resource type="download" name="logo.png" location="com/company/images/logo.png" > <property key="Content-Type" value="image/x-png; charset=binary"/> </resource> </web-resource> </atlassian-plugin>
Note that https://mydomain/jira/download/resources/my.plugin.id:moduleId/logo.png return correctly the image, with following HHTP Header :
Content-Type image/png;charset=UTF-8
Date Tue, 26 Jun 2012 11:31:01 GMT
Etag "1339772032000"
Last-Modified Fri, 15 Jun 2012 14:53:52 GMT
Server Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8h mod_jk/1.2.32
X-AREQUESTID 811x13281x1
...
Attachments
Issue Links
- is caused by
-
JRASERVER-29545 JIRA is appending charset=UTF-8 to images
- Closed