Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Mimetype for attachments having newline characters

Nijas Rawther December 2, 2023

Saw a strange behavior while fetching issue details using REST API in Jira SM. 

For an image attachment, the mimeType field returned is 

 

"mimeType": "image/png;\r\n\tname=\"image001.png\""


Why is this field corrupted ?
We are not able to use the value of this field in contentType header since newline characters in headers are not accepted.


0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events