Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > amrita and mod_ruby

Reply
Thread Tools

amrita and mod_ruby

 
 
Javier Valencia
Guest
Posts: n/a
 
      02-22-2005
Have any of you run amrita on mod_ruby?

it gives me lots of "SecurityError" problems, and modifying ruby safe
level on mod_ruby config doesn't work.

I'm using now REXML, but it's a lot of code to generate a relative
simple html page.


 
Reply With Quote
 
 
 
 
James G. Britt
Guest
Posts: n/a
 
      02-22-2005
On Wed, 23 Feb 2005 04:32:18 +0900, Javier Valencia <> wrote:
> Have any of you run amrita on mod_ruby?
>
> it gives me lots of "SecurityError" problems, and modifying ruby safe
> level on mod_ruby config doesn't work.


My recollection of working with mod_ruby is that I had some issues
with tainted strings. I had to explicitly untaint or dupe strings to
get around things. (I am not advocating this though; I cannot assure
you that it won't lead to actual security issues, but I was happy when
I ran www.rubyxml.com under mod_ruby.)


>
> I'm using now REXML, but it's a lot of code to generate a relative
> simple html page.


You may do better with XMLBuilder.

James

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another amrita/mod_ruby question. Lloyd Zusman Ruby 0 04-21-2004 01:05 AM
Amrita and mod_ruby? Lloyd Zusman Ruby 2 04-21-2004 12:15 AM
rublog and mod_ruby (was: mod_ruby & Apache) Robert McKinnon Ruby 1 03-06-2004 02:29 PM
Amrita and programmatically-generated JavaScript Carl Youngblood Ruby 2 11-05-2003 04:46 AM
Question about amrita and XHTML/CSS Carl Youngblood Ruby 4 10-06-2003 03:11 AM



Advertisments