Commit 685955bb authored by clenneville's avatar clenneville

Remove v-html for security

parent 3ad629ce
<script> <script>
/* eslint-disable vue/no-v-html */
import { GlLoadingIcon, GlButton, GlAlert } from '@gitlab/ui'; import { GlLoadingIcon, GlButton, GlAlert } from '@gitlab/ui';
export default { export default {
...@@ -60,7 +59,9 @@ export default { ...@@ -60,7 +59,9 @@ export default {
{{ __('Start Web Terminal') }} {{ __('Start Web Terminal') }}
</gl-button> </gl-button>
</p> </p>
<gl-alert v-if="!isValid && message" variant="tip" :dismissable="false" v-html="message" /> <gl-alert v-if="!isValid && message" variant="tip" :dismissable="false">
{{ __('Configure a .gitlab-webide.yml file in the .gitlab directory to start using the Web Terminal. %{helpStart}Learn more.%{helpEnd}')}}
</gl-alert>
<p v-else> <p v-else>
<a <a
v-if="helpPath" v-if="helpPath"
......
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