Hi, I can't open attachments in my ticket with extension .config or .Config
Somebody idea how to open them? or what to change
Hi Thomas,
We had similar issue when using IIS as proxy in front of JIRA (and Confluence). The problem origin is from IIS Request Filtering module which deny access to some extensions and URL segments.
It's possible to remove this filter for a specific web application using the following commands at administrator command prompt:
appcmd set config "Web app name" /section:requestFiltering /-fileExtensions.[fileextension='.config']
appcmd set config
"Confluence"
/section:requestFiltering /-hiddenSegments.[segment=
'web.config'
]
This document is from our internal KB :
Best regards,
Romain
Hi Thomas,
I think what you'll want to do is edit the following file in your JIRA application:
atlassian-jira/WEB-INF/classes/mime.types
And if you want these to be shown as plain text, more than likely you'll find the line that begins with:
text/plain
Then build upon it. So mine by default looks like this:
text/plain asc txt patch log java
So yours may look like this:
text/plain asc txt patch log java config
Change this and restart JIRA, then hopefully you see them, rather than downloading them.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the responses,
When i click on my .config file in the attachments I get the following error (see image)
It even doesn't download the file.
We are still on JIRA version 6.3.4
kr,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Thomas,
What does the atlassian-jira.log file say while you are trying to open the .config file from JIRA ticket. I have reproduced by saving a .config file and attached on JIRA 7.0.5 SQL Server.
as.PNG
Also let me know what version of JIRA you are running so I will try to replicate the issue.
Regards
Chander Inguva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.