[Nitro] Spark Question
george.moschovitis at gmail.com
Sun Oct 16 13:40:14 EDT 2005
Hmm, thanks for this pointer!
On 10/15/05, James Britt <james_b at neurogami.com> wrote:
> George Moschovitis wrote:
> > Perhaps there is a problem with the '.' character. I 'll investigate this.
> In lib/nitro/adapter.rb there is this code at line 100:
> def handle(req, res)
> unless handle_file(req, res)
> path = req.request_uri.path
> unless path =~ /\./
> I changed the regexp to /\.html/, and could then have wiki page links
> that included a file extension.
> What might be slick is some way to configure this expression, though I
> have no suggestions or code to offer on this. (Nor do I understand
> quite why this rexp is there.)
> http://www.ruby-doc.org - The Ruby Documentation Site
> http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
> http://www.rubystuff.com - The Ruby Store for Ruby Stuff
> http://www.jamesbritt.com - Playing with Better Toys
> Nitro-general mailing list
> Nitro-general at rubyforge.org
More information about the Nitro-general