Skip to content
Snippets Groups Projects
Commit a476bc7b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Shell escape code search

parent 1bace9da
No related branches found
No related tags found
2 merge requests!100176 2 stable,!6886DELETE THIS MERGE REQUEST
Loading
Loading
@@ -6,7 +6,7 @@ class SearchContext
end
 
def execute
query = params[:search]
query = Shellwords.shellescape(params[:search])
 
return result unless query.present?
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment