Make sure the string isn't tainted. Chris ----- Original Message ----- From: "Daniel Bretoi" <lists / debonair.net> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Wednesday, February 12, 2003 12:02 PM Subject: mod_ruby insecury op [Wed Feb 12 12:00:16 2003] [error] mod_ruby: error in ruby /tmp/showrun.rhtml.18210.0:54:in `exists?': Insecure operation - exists? (SecurityError) and in my apache: RubySafeLevel 0 offending line: if (FileTest.exists?("#{dir}/#{d}/L1/magos.log")) How am I supposed to check if a file exists or not? Ideas? db -- Feb 12 Abraham Lincoln born, 1809 Feb 12 Charles Darwin born in Shrewsbury, England, 1809 Feb 12 Lincoln's real birthday Feb 12 Santa Barbara oil leak, 1969 Feb 12 Pyidaungsa Day in Burma Feb 12 The Beatles play Carnegie Hall in New York City, 1964 Feb 12* Rosh Chodesh Adar (Beginning of the month of Adar)