changing default Content-Type header to utf-8

James T Moon December 18, 2015

Using bamboo, when viewing a Full Log of a job (e.g., a URL like http://10.1.2.3:8085/download/PROJ1-JOB1/build_logs/PROJ1-JOB1-43.log), the HTTP Header Content-Type is value text/plain.  This causes the UTF characters in the logfile to display as non-sense ASCII characters.

How can I change the Content-Type header to include or append charset=utf-8 for files of Mime Type text/plain ?

My browser, firefox 43, wants to default to encoding "Western".  Even if I found a workaround in firefox, I'd prefer that this just work correctly in all browsers.  That requires sending the charset-utf-8 in the response header.

Using Atlassian Bamboo version 5.9.7 build 5920.

1 answer

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events