Shell escaping is safer since commit a1e1108.

This commit is contained in:
LCD 47 2013-07-31 16:32:36 +03:00
parent 65c852cf25
commit e380a86180

View File

@ -44,7 +44,7 @@ function! SyntaxCheckers_eruby_ruby_GetLocList()
\ exe . ' -rerb -e ' .
\ syntastic#util#shescape('puts ERB.new(File.read(' .
\ fname . encoding_spec .
\ ').gsub(''<\%='',''<\%''), nil, ''-'').src') .
\ ').gsub(''<%='',''<%''), nil, ''-'').src') .
\ ' \| ' . exe . ' -c'
let errorformat =