I got a url of attached file from change log of an issue on Jira server.
And the attached file name has a space char.
The filename is "OS Log.zip".
and the url is "http://base_url/secure/attachment/142021/OS+Log.zip"
But, when I access the url, my broswer say that "No Webpage was found for the web address:"
How can i resolve this problem?
Is it depend on Java server configuration?
I need help from jira gurus !
Thanks,
Welcome to the Atlassian Community!
This usually means that you have got an invalid URL. When you say "base_url" in that URL, have you replaced it with the actual location of your Jira?
Or is your base URL really set to "HTTP://base_url"? If it is, then you'll need to correct that in the global settings.
If, for example, you looked at a Cloud system (where the base URL is set by Atlassian), you might have a URL like https://aclsandbox.atlassian.net/secure/142021/OS+Log+zip, in which case the base URL in the general settings should be set to https://aclsandbox.atlassian.net
my base url setting is OK.
Only in the case of the attached filename has space character, we cannot reach the file by the url.
Instead, when we access the attached file like the url which file name is encoded and the space character is expressed by %20, we can access the file directlry.
http://base_url/secure/attachment/142021/OS%20Log.zip
is there any referece to understand this phenomenon?
thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, URLs cannot contain spaces, it's nothing to do with Atlassian, it's the way the internet works.
If you want to use spaces (and a lot of other special characters) in URLs, they have to be encoded. That's why %20 works - it's space, encoded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
but some other jira server allows '+' charater instead of space character.
so the url below works on them.
http://base_url/secure/attachment/142021/OS+Log.zip
My jira server does not work when I try to access with the url http://base_url/secure/attachment/142021/OS+Log.zip. but it works when use the encoded url like this http://base_url/secure/attachment/142021/OS%20Log.zip.
How can I make configuration we can access the attachment with the url using '+' character ?
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's not relevant here. The + substitution is done within the application, not the URL.
You are trying to reach a URL that has a space in it. Spaces are not valid in URLs, so you have to encode them if you want your browser or program to reach it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.