Re:ActiveRecord Vulnerability - Circumvention of attr_protected
by pjungwir on Monday February 11, 2013 @02:53PM
(#5202849)
I seem to remember a blog post about this regex issue here on HN a few months ago. It definitely surprised me to learn that Ruby doesn't treat $ as end-of-string by default.
[ Parent
| on HN ]
Re:ActiveRecord Vulnerability - Circumvention of attr_protected
by fxn on Monday February 11, 2013 @03:22PM
(#5202984)
I blogged in http://advogato.org/person/fxn/diary/498.html some key differences between Perl and Ruby regexp flags (which includes this gotcha).
Re:ActiveRecord Vulnerability - Circumvention of attr_protected
by homakov on Monday February 11, 2013 @05:48PM
(#5203900)
http://homakov.blogspot.com/2012/05/saferweb-injects-in-vari...
it is usual mistake in url validators