Opened 16 years ago
Closed 14 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 by , 16 years ago
| Status: | new → assigned |
|---|
comment:2 by , 14 years ago
| Milestone: | unknown → 0.25 |
|---|---|
| Type: | defect → Bug Report - General |
comment:3 by , 14 years ago
| 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.