Opened 11 years ago

Closed 9 years ago

#8837 closed Bug Report - General (fixed)

mytharchive fails when recording title has a slash somewhere

Reported by: Bjorn Gustafsson <bjorne-g@…> Owned by: paulh
Priority: minor Milestone: 0.25
Component: Plugin - MythArchive Version: 0.23.1
Severity: medium Keywords:
Cc: Ticket locked: no


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 11 years ago by robertm

Status: newassigned

comment:2 Changed 9 years ago by stuartm

Milestone: unknown0.25
Type: defectBug Report - General

This seems like a very simple bug to fix.

comment:3 Changed 9 years ago by Github

Resolution: fixed
Status: assignedclosed

MythArchiveHelper?: Fix bad filenames when creating a native archive directory

Fixes #8837.

Branch: master Changeset: bf10d8dc5a791cd20bed0c318a7fbf8edf675592

Note: See TracTickets for help on using tickets.