Forums

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

Error while uploading pic with "/"

Георгий
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!
October 15, 2021

Hey!
When I'm trying to upload a pic with "/" sign in the file name it shows me an error message:
 IMAGE 2021-10-15 15_13_43.jpg

It's pretty annoying when I don't notice it and find it empty description when return.
Why it can't just work with "/"?

1 answer

1 vote
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.
October 15, 2021

Because / is not a valid character in a file name for decent directory systems.  It indicates a directory.  If we take a file, put it in directory "stuff" and call it "exam/ple.txt", then what you are actually saying is "put a file called ple.txt in the directory called exam, which is inside the directory called stuff" - literally stuff/exam/ple.txt

Now, a service such as Jira really should insulate us from that.  Unfortunately there's a design flaw in Jira, in that it doesn't check the file names properly before accepting them for upload.  It should tell you "I can't use that file name" or it should be encoding or flipping invalid characters and telling you the new name.

Further to that, the flaw is throwing you a misleading message when it fails.  It's not the formatting of the content, it's the invalid file name.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events