You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi!
Everybody uses so nice feature related view in Browser attachment. e.g. txt file show automatically in browsers. (It shows because App provides headers like "Content-Disposition: inline; filename*=UTF-8''text.txt;")
Why we can not use this feature for the SVG files? e.g.
I have put into text mode comment block into the Jira text like this
[^gnu.svg]
After that tomcat(or webapp) natively provide header like "content-disposition: inline; filename*=UTF-8''gnu.svg;" instead of "content-disposition: attachment; filename*=UTF-8''gnu.svg;".
It will help decreasing configurations on proxy server like :
location /secure/attachment {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://jira_upstream;
location ~ "\.svg"{
add_header X-Whom www-node01;
add_header Content-Disposition "inline;";
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://jira_upstream;
}
}
What do you think about this feature?
Cheers,
Gonchik Tsymzhitov