Opened 14 years ago
Closed 12 years ago
#8837 closed Bug Report - General (fixed)
mytharchive fails when recording title has a slash somewhere
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | Plugin - MythArchive | Version: | 0.23.1 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I archive a recording to file. In the title there is a slash - e.g. "Naked Gun 3 1/3". Mytharchive will then fail with:
2010-08-28 21:34:57.280 MythNativeWizard?: Failed to open file for writing - /mnt/share/video/Nakna pistolen 33 1/3/4064_20100828024000.mpg.xml
I did have a quick look at mytharchivehelper/main.cpp - it looks like mytharchivehelper uses the title as a path without checks that verifies that it is a valid path.
Change History (3)
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 12 years ago by
Milestone: | unknown → 0.25 |
---|---|
Type: | defect → Bug Report - General |
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
MythArchiveHelper?: Fix bad filenames when creating a native archive directory
Fixes #8837.
Branch: master Changeset: bf10d8dc5a791cd20bed0c318a7fbf8edf675592
This seems like a very simple bug to fix.