We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get
1 parent 688c3f2 commit 77b0dd5Copy full SHA for 77b0dd5
lib/thor/actions/file_manipulation.rb
@@ -60,6 +60,9 @@ def link_file(source, *args)
60
# destination. If a block is given instead of destination, the content of
61
# the url is yielded and used as location.
62
#
63
+ # +get+ relies on open-uri, so passing application user input would provide
64
+ # a command injection attack vector.
65
+ #
66
# ==== Parameters
67
# source<String>:: the address of the given content.
68
# destination<String>:: the relative path to the destination root.
0 commit comments