Commit 1b2cf39e authored by Mike Greiling's avatar Mike Greiling

Escape user input

parent 9b018302
<script>
import { escape } from 'lodash';
import {
GlDropdown,
GlDropdownDivider,
......@@ -74,7 +75,7 @@ export default {
return sprintf(
s__('ClusterIntegration|Use %{query}'),
{
query: `<code>${this.searchQuery}</code>`,
query: `<code>${escape(this.searchQuery)}</code>`,
},
false,
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment