Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Is dynamic loading of pm's a bad thing?

by matija (Priest)
on Jun 24, 2004 at 17:24 UTC ( #369422=note: print w/ replies, xml ) Need Help??

in reply to Is dynamic loading of pm's a bad thing?

Don't "strip dodgy characters" - you can never be sure that you got them all.

Your best bet would be to read the directory where the plugins are stored, and make a list of available plugins. Then compare the elements of that list with the parameter you got. That way, the user input only gets processed by the string comparison operator, which is much harder to fool than the directory listing functions.

Comment on Re: Is dynamic loading of pm's a bad thing?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369422]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-11-29 15:22 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls