Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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
(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 :)
       MeowChow                                   
                   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.
           MeowChow                                   
                       s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-07-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls