Sanitize SCR args better
authorKlaus Kämpf <kkaempf@suse.de>
Wed, 28 Oct 2009 11:23:36 +0000 (12:23 +0100)
committerKlaus Kämpf <kkaempf@suse.de>
Wed, 28 Oct 2009 11:23:36 +0000 (12:23 +0100)
commit2ca2b358b4fcbc0a89c268e89a3fde46058b9fc1
tree595a5d968b0d38abfb1cceca4b7d48f1bdcd3a54
parentcf08e5394127c59a82aa65c19df70402483490fc
Sanitize SCR args better

- use regexp to check for allowed characters
- enclose argument in '' before assembling the command line
webservice/lib/scr.rb
webservice/test/functional/scr_test.rb