[Nitro] Spark Question

George Moschovitis george.moschovitis at gmail.com
Sun Oct 16 13:40:14 EDT 2005


Hmm, thanks for this pointer!

-g.


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 =~ /\./
>          begin
>
>
> 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.)
>
>
> James
>
>
> --
>
> 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
> http://rubyforge.org/mailman/listinfo/nitro-general
>


--
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com




More information about the Nitro-general mailing list