[mythtv] [mythtv-commits] mythtv/master commit: a38fd4f89 by Robert McNamara (rmcnamara)

Robert McNamara robert.mcnamara at gmail.com
Tue Jul 12 05:47:34 UTC 2011


On Mon, Jul 11, 2011 at 10:42 PM, Jonathan Martens <jonathan at snetram.nl> wrote:
> On 12-7-2011 0:48, MythTV wrote:
>>        Author:  Robert McNamara<rmcnamara at mythtv.org>
>>   Change Date:  2011-07-11T15:45:30-07:00
>>     Push Date:  2011/07/11 15:48:12 -0700
>>    Repository:  mythtv
>>        Branch:  master
>> New Revision:  a38fd4f899c77efb8b135cf5c52e4dc92c98f85b
>>     Changeset:  https://github.com/MythTV/mythtv/commit/a38fd4f89
>>
>> Log:
>>
>> Replace forward slashes with a safe character in image downloads.
>>
>> My gut tells me there *may* be another way to do this, but in Unix there are so few reserved characters (one, this one) that I'm comfortable with this simple replacement.
>>
>> Fixes #9914, tested against the filename "Nip-Tuck 1x01.mpg".  The resulting images replace forward slash with dash.
>
> At least reading this there are a few more special charachters:
> http://www.tuxfiles.org/linuxhelp/weirdchars.html

All the others *can* be a valid character in a file.  This one never can be.

http://en.wikipedia.org/wiki/Filename#Comparison_of_filename_limitations

See "most UNIX file systems" and POSIX.

Robert

Robert


More information about the mythtv-dev mailing list