Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bug: wrong content-type returned by Service Desk login page

Edited

When retrieving the Service Desk login page (e.g., https://jira.softwareplant.com/servicedesk/customer/portal/1/user/login), if 'Accept' header is not specified, the response contains 'Content-Type: application/octet-stream' rather than 'text/html'.

$ curl -I -v -H 'Accept:' https://jira.softwareplant.com/servicedesk/customer/portal/1/user/login* Trying 18.184.86.245...
* Connected to jira.softwareplant.com (18.184.86.245) port 443 (#0)

[...]
> HEAD /servicedesk/customer/portal/1/user/login HTTP/1.1
> Host: jira.softwareplant.com
> User-Agent: curl/7.47.0
>
< HTTP/1.1 200
< Date: Fri, 12 Jun 2020 12:00:53 GMT
< Content-Type: application/octet-stream;charset=UTF-8

[...]

If the Accept header is specified, and is different than '*/*', the 'Content-Type' in the response is identical to the 'Accept' header:

$ curl -I -v -H 'Accept:xxx/yyy' https://jira.softwareplant.com/servicedesk/customer/portal/1/user/login

[...]

> HEAD /servicedesk/customer/portal/1/user/login HTTP/1.1
> Host: jira.softwareplant.com
> User-Agent: curl/7.47.0
> Accept:xxx/yyy
>
< HTTP/1.1 200
< Date: Fri, 12 Jun 2020 12:06:15 GMT
< Content-Type: xxx/yyy;charset=UTF-8

[...]

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

37 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you