Ad
  • Default User Avatar

    This is pretty interesting comment as I've written a fair bit of code, in Ruby, in the last month, using regexes, to prevent sql injection.

    But at 8 kyu, I am unable to understand what is required to pass the specs, and cannot justify any further time to figure it out. There are much more interesting problems which are much better worded.

    Perhaps this problem just doesn't work as described in Ruby? Could it be removed? Deprecated?

  • Custom User Avatar

    The idea was to mimic sql injection when passing through to the validator class so you would have to create a function to catch passwords that contained any, unfortunatly it wasn't translated into the other versions.

  • Custom User Avatar

    I guess this applys only to the Ruby version? Because surely if you tried to do that in the javascript version which I wrote that would fail all tests. unfortunatly I cannot change any Code because there have been 500+ successful solutions. I apologise.

    On another note, I believe my original idea for this kata was lost in translation so to speak which is why the different code versions aren't the same. Sorry but I cannot change anything now.