#7167 closed defect (invalid)
":" character in file names
Reported by: | Djfe | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | felix.bau@gmx.de | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hi, it's possible to enter file names that contain ":"
ffmpeg -i something.mp3 -c copy "test : test.mp3
I even created a file this way, that I can't delete or move now.
Another one (second try), I was able to delete.
(I moved the first file to some dir I don't need by using 7zip, deleting that folder wasn't possible though)
I know, that Windows prohibits the use of ":" in file names, I copied the file name and forgot to remove it, ffmpeg should prevent users from entering it though ;)
If there are other similar characters, those should be prohibited from being used as well.
Change History (3)
comment:1 by , 7 years ago
Cc: | added |
---|---|
Version: | unspecified → git-master |
comment:2 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 7 years ago
what do you mean by that? Calling
ffmpeg -i something.mp3 -c copy "test : test.mp3"
results in a file called "test" with 0 bytes in size without erroring.
So it didn't create a correct file and didn't tell the user that :/
While the parameters are indeed honored, this seems like unwanted behavior to me.
If you still think, that this doesn't need to be changed, then just leave the ticket closed.
Regards
Djfe
This has currently no similarities with a valid ticket.
But afaict, it is not the applications job to mess with parameters.