Re: untaint'ing doesn't seem to work

Shugo Maeda <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,
Sorry, I had missed it.

At Sun, 16 May 2004 14:54:22 -0400,
Jeffrey Dik <[email protected]> wrote:
> Would it be proper to change the answer in the mod_ruby FAQ to
>    query = CGI.new
>    filename = query.params["filename"][0].dup
>    filename.untaint
>    open(filename)

I fixed it. Thank you.

Shugo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.