Forums

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

http:// image links auto-conversion to https:// ?

Wee Gee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2023

We have embedded images in Jira Description fields:

!http://**removed.domain**/polarion/icons/default/enums/type_green_spec.png!

They are shown as broken image in Jira.
When I open this link in a separate browser tab, it works.
I read in a different issue here that they are automatically converted to https, and therefore can't be resolved.

Can we fix this issue somehow in our configuration?
Or does Atlassian plan to fix this eventually?

The server which provides the image can't easily be switched to https.

We use Jira v8.22.6

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2023

Welcome to the Atlassian Community!

That sounds like your servers are not serving things up correctly, they're doing some form of redirect to https which cannot be followed by a simple embedded url.

They should be doing this, it's the right thing to do - you should not be using HTTP for any system that has any form of write (Polarian allows write access, so should never be run on HTTP)

You need to correct these URLs to use HTTPS, as that's where the images really are.

Wee Gee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2023

The Polarion server really uses HTTP to deliver the images - if I enter that URL

http://**removed.domain**/polarion/icons/default/enums/type_green_spec.png

in a new browser tab, I can see the image. 

In the text view of the description field I use 

!http://**removed.domain**/polarion/icons/default/enums/type_green_spec.png!

to embed it, it is somehow converted to 

!https://**removed.domain**/polarion/icons/default/enums/type_green_spec.png!

during rendering the Jira web page, for example after switching back to Visual view and checking the link to the image it tries to load.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2023

Your Polarian server is configured to redirect, which won't work with remote images.

You should have your Polarian server set up to work over https only (with a rewrite for http access), and you should be using https:// links for your embedded images.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events