Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Taint Mode

by Pedro Picasso (Sexton)
on Apr 04, 2002 at 06:35 UTC ( #156592=note: print w/ replies, xml ) Need Help??

in reply to Re: Muse - Personal Interlinked Encyclopedia Builder
in thread Muse - Personal Interlinked Encyclopedia Builder

Thanks for the suggestion. I've untainted my input.

I never use taint mode because I don't maintain a public http server (all my scripts are single-user only and behind a firewall), but I guess that doesn't really help other people who download my code and have it exploited. Please let me know if you think there's still a problem.

-the Pedro Picasso
(sourceCode == freeSpeech)

Comment on Taint Mode
Replies are listed 'Best First'.
(MeowChow) Re: Taint Mode
by MeowChow (Vicar) on Apr 04, 2002 at 06:53 UTC
    I think you're permitting too much. I'd write:
    ($node) = $node =~ /\w{1,32}/g;
    Remember. Be paranoid. They are out to get you :)
                   s aamecha.s a..a\u$&owag.print

      I limited size between 1 and 32 as per your example, but I can't let go of my limited punctuation. Do you know where I can find the ext2 filesystem specifications for filenames?

      -the Pedro Picasso
      (sourceCode == freeSpeech)
        Ext2 is very lenient, allowing for any character except except for NULL and "/" in a filename. I still recommend that you lose the punctuation.
                       s aamecha.s a..a\u$&owag.print

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-11-28 19: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 (744 votes), past polls