Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] MV3.12 / Tag Log - Dynamic File Name not interpolated



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

At 09:37 AM 4/5/00 , you wrote:
>******    message to minivend-users from Mike Heins 
><mikeh@minivend.com>     ******
>
>Quoting jojo@buchonline.net (jojo@buchonline.net):
> >
> > Hi Ryan,
> >
> > [tag op=log file="etc/[value anyname].txt" interpolate=1]
> >       stuff here
> > [/tag]
> >
>
>Please don't do this. The idea of taking a user form value and using
>it as the basis of a file name is scary.

Oh $%^!  Thanks for the wake-up call.  That would be a Bad Idea, wouldn't 
it?  I could run it through some Perl to leave only [A-Za-z0-9] and 
probably limit the length of the var.  That would be safe, yes?


>In MV4, you can do:
>
>         [value name=anyname filter=filesafe]
>
>and be OK.
>
>Best,
>Mike
>--
>Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
>phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>
>
>Research is what I'm doing when I don't know what I'm doing.
>-- Wernher Von Braun
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list


Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://yamamoto.baits.com
Gary Yamamoto Custom Baits, Inc.                http://www.insideline.net

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: