[Nitro] default js rendering

Bryan Soto bryan.a.soto at gmail.com
Mon Jun 26 20:12:20 EDT 2006

On 6/23/06, George Moschovitis <george.moschovitis at gmail.com> wrote:
> > Beginning in 0.30.0, we removed a regex that prevented Nitro from
> > handling query strings with a period in it. A sample use-case would be
> Hmm this seems to generate some random problems with me too... Can you
> please remind me how exactly you changed the '.' handling?

There was a test in cgi, webrick and mongrel. Something along the lines of:


unless request.url =~ /\./        # unless request contains a period
  # nitro handles request

# no else clause, so nothing was rendered.


I removed the unless test and the end.


More information about the Nitro-general mailing list