Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#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 Changed 3 months ago by Djfe

  • Cc felix.bau@gmx.de added
  • Version changed from unspecified to git-master

comment:2 Changed 3 months ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

This has currently no similarities with a valid ticket.

But afaict, it is not the applications job to mess with parameters.

comment:3 Changed 3 months ago by Djfe

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

Note: See TracTickets for help on using tickets.