Details
-
Bug
-
Resolution: Fixed
-
Medium
-
8.2.2
-
8.02
-
9
-
Severity 2 - Major
-
2
-
Description
Issue Summary
robots.txt bundled in Jira is served with an incorrect MIME type which may impact the way search engines index and position instance's pages
Steps to Reproduce
- Visit JIRA_BASE_URL/robots.txt
Expected results
The response's MIME type is text/plain
Actual Results
Note that it's rendering as HTML (MIME type is text/html)
Notes
This behaviour is a result of changes introduced in Tomcat which was upgraded to version 8.5.40 in Jira 8.2.2.
Workaround
As robots.txt is a static file, Content-Type header for the response from accessing it can be easily overridden using e.g. a reverse proxy
Currently no workaround based on altering e.g. web.xml or server.xml (Tomcat config files) is known. If one is discovered, it will be posted here.
Attachments
Issue Links
- blocks
-
ITOPSENG-306 Loading...
- relates to
-
RAID-1705 Loading...