[Nitro] [PATCH] template fix

Michael Fellinger manveru at weez-int.com
Mon Dec 11 05:56:57 EST 2006


On Friday 08 December 2006 22:06, Jonathan Buch wrote:
> Hi,
>
> bug report from Rayman:
>
> <Rayman> <render href="/right/#{@obj.oid}" />
> <Rayman> and it didn't eval te #{}
>
> attached patch should fix that.
>
> Jo

* use the proper symbol for postgresql-adapter in the og/test/CONFIG.rb
* rewrite of some gsub!s in template.rb, this should speed up the whole 		   
  process. Also introduced SuperSafe(TM) delimter by using the MD5-hash of   
  rand() (only once on startup, so no big deal) - this should make 
  templating a whole lot more secure
* added some tests for template.rb - still not enough...

^manveru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundle.tar.gz
Type: application/x-tgz
Size: 3042 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061211/ba9e2575/attachment.bin 


More information about the Nitro-general mailing list