On Tue, Nov 04, 2003 at 05:30:31PM +0900, Minero Aoki wrote:
> > content =~ URI::REGEXP::ABS_URI or raise UserError,
> >     "text/uri-list should contain at least one absolute URI"
> > uri, scheme = $&, $1
> > throw :fail unless scheme =~ /^http/
> > response = Net::HTTP.get_response(URI.parse(uri.untaint))
> I could not reproduce the error.
> Could you show me exact error message?

/usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize': Insecure operation - initialize (SecurityError)
        from /usr/lib/ruby/1.8/net/protocol.rb:83:in `new'
        from /usr/lib/ruby/1.8/net/protocol.rb:83:in `connect'
        from /usr/lib/ruby/1.8/net/protocol.rb:82:in `timeout'
        from /usr/lib/ruby/1.8/timeout.rb:55:in `timeout'
        from /usr/lib/ruby/1.8/net/protocol.rb:82:in `connect'
        from /usr/lib/ruby/1.8/net/protocol.rb:64:in `initialize'
        from /usr/lib/ruby/1.8/net/http.rb:429:in `open'
        from /usr/lib/ruby/1.8/net/http.rb:429:in `do_start'
         ... 6 levels...
        from /var/www/samizdat/message.rb:17:in `out'
        from /var/www/samizdat/message.rb:17
        from /usr/lib/ruby/1.8/apache/ruby-run.rb:70:in `load'
        from /usr/lib/ruby/1.8/apache/ruby-run.rb:70:in `handler'

Apache/1.3.28 (Debian GNU/Linux) mod_ruby/1.0.7 Ruby/1.8.0

Hope that is enough, I don't know how to get a full call stack, without
skipping those "6 levels".

-- 
Dmitry Borodaenko