From 9d137a207fddca412b3c358941e61c633a787176 Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Thu, 8 Aug 2024 08:57:37 +0200 Subject: [PATCH] replace path traversal with @ path shortcut --- web/explorer/src/components/NavBar.vue | 29 +++++++++---------- .../src/components/RuleMatchesTable.vue | 2 +- .../src/components/columns/RuleColumn.vue | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/web/explorer/src/components/NavBar.vue b/web/explorer/src/components/NavBar.vue index ac63764c..9a466aac 100644 --- a/web/explorer/src/components/NavBar.vue +++ b/web/explorer/src/components/NavBar.vue @@ -1,31 +1,30 @@ diff --git a/web/explorer/src/components/RuleMatchesTable.vue b/web/explorer/src/components/RuleMatchesTable.vue index 0c8e8ad6..1b496b81 100644 --- a/web/explorer/src/components/RuleMatchesTable.vue +++ b/web/explorer/src/components/RuleMatchesTable.vue @@ -181,7 +181,7 @@ import RuleColumn from "@/components/columns/RuleColumn.vue"; import VTIcon from "@/components/misc/VTIcon.vue"; import { parseRules } from "@/utils/rdocParser"; -import { createMBCHref, createATTACKHref, createCapaRulesUrl, createVirusTotalUrl } from "../utils/urlHelpers"; +import { createMBCHref, createATTACKHref, createCapaRulesUrl, createVirusTotalUrl } from "@/utils/urlHelpers"; const props = defineProps({ data: { diff --git a/web/explorer/src/components/columns/RuleColumn.vue b/web/explorer/src/components/columns/RuleColumn.vue index d70eb73e..d7f4ace1 100644 --- a/web/explorer/src/components/columns/RuleColumn.vue +++ b/web/explorer/src/components/columns/RuleColumn.vue @@ -56,7 +56,7 @@