Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fixed parsing .env with :

Vladyslav Matsiiako5ab218f1f829
diff --git a/frontend/src/components/utilities/parseDotEnv.ts b/frontend/src/components/utilities/parseDotEnv.ts
index e9b14f0fe7..683670b334 100644
--- a/frontend/src/components/utilities/parseDotEnv.ts
+++ b/frontend/src/components/utilities/parseDotEnv.ts
@@ -1,5 +1,5 @@
const LINE =
- /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;
+ /(?:^|^)\s*(?:export\s+)?([\w.-:]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;
/**
* Return text that is the buffer parsed
diff --git a/frontend/src/pages/org/[id]/overview/index.tsx b/frontend/src/pages/org/[id]/overview/index.tsx
index ca2f829d3a..5aafd1cdde 100644
--- a/frontend/src/pages/org/[id]/overview/index.tsx
+++ b/frontend/src/pages/org/[id]/overview/index.tsx
@@ -433,7 +433,7 @@ export default function Organization() {
icon: faPlus,
time: "1 min",
userAction: "first_time_secrets_pushed",
- link: `/project/${orgWorkspaces[0]?._id}/secrets`
+ link: `/project/${orgWorkspaces[0]?._id}/secrets/overview`
})}
{learningItemSquare({
text: "Invite your teammates",