Skip to content

Spaces in video name are replaced with underscores #411

@redthirten

Description

@redthirten

Describe the bug
I could be misremembering, but I thought the previous behavior of Fireshare was to set the default name of uploaded videos to the same name as the original video file. However, I noticed recently that spaces are being replaced with underscores for the default video name. I wouldn't call this a bug per say, but from a cosmetic perspective, I'd prefer to throw a pre-named video up onto Fireshare and have the title metadata already set to the "pretty" name with spaces. Now, I need to take an extra step to rename the video before sharing, which is a little cumbersome. I understand certain characters may need to be stripped or changed to avoid certain injection attacks, but I'm uncertain if spaces fall into this category. Please correct me if this is not the case. Thank you!

To Reproduce
Steps to reproduce the behavior:

  1. Upload a video file with spaces in the name.
  2. Observe that the default video name in Fireshare is the original file name with underscores replacing spaces.
  3. Renaming the video in Fireshare to have spaces still works.

Expected behavior
Ideally, the default video name in Fireshare should match the name of the original video file as closely as possible, while avoiding obvious injection attacks.

Desktop (please complete the following information):

  • Browser: Chrome

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions