Shell escaping is safer since commit a1e1108
.
This commit is contained in:
parent
65c852cf25
commit
e380a86180
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user