[ic] Bugfix for image.tag

Jon Jensen jon at endpoint.com
Tue Mar 15 16:16:43 UTC 2011


On Tue, 15 Mar 2011, Josh Lavin wrote:

>> I'm curious how you arrived at your set of "bad characters" here:
>> 
>> s:[@!%><]::g
>> 
>> What is wrong with @ or % in filenames?
>
> These are the characters that are allowed as modifiers to the "makesize" 
> parameter. The "makesize" option is then used as the directory name, 
> e.g.: /images/200x500/foo.jpg".

Oh, I see. Different situation than I was thinking.

Why not do something more complete, then?

s:[^\dx]::g

No need for anything but digits and x in the directory name, right?

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/



More information about the interchange-users mailing list