you want to validate in ruby before passing bad data through lua (not knowing how it will handle an illformed request -- or allow code injectIon)