From 92d8cc7fee27a3006c947b72a67d4ea43254c5da Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Mon, 31 Jan 2022 15:25:57 +0530 Subject: [PATCH] fix: xss on tippy fixes #2103 Co-authored-by: Liyas Thomas --- .../hoppscotch-app/components/app/Header.vue | 18 ++++++++--------- .../components/graphql/RequestOptions.vue | 20 +++++++++---------- .../components/smart/EnvInput.vue | 1 + packages/hoppscotch-app/plugins/v-tippy.js | 1 + 4 files changed, 21 insertions(+), 19 deletions(-) diff --git a/packages/hoppscotch-app/components/app/Header.vue b/packages/hoppscotch-app/components/app/Header.vue index 60d743f60..b3fb98516 100644 --- a/packages/hoppscotch-app/components/app/Header.vue +++ b/packages/hoppscotch-app/components/app/Header.vue @@ -1,9 +1,9 @@ -
- +
+ {{ currentUser.displayName }} - + {{ currentUser.email }}
diff --git a/packages/hoppscotch-app/components/graphql/RequestOptions.vue b/packages/hoppscotch-app/components/graphql/RequestOptions.vue index 670cf85f1..79244ac79 100644 --- a/packages/hoppscotch-app/components/graphql/RequestOptions.vue +++ b/packages/hoppscotch-app/components/graphql/RequestOptions.vue @@ -8,14 +8,14 @@ :indicator="gqlQueryString && gqlQueryString.length > 0 ? true : false" >