Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error on copy paste if key value has '=' #308

Closed
HugoRCD opened this issue Nov 14, 2024 — with Linear · 0 comments · Fixed by #311
Closed

fix: error on copy paste if key value has '=' #308

HugoRCD opened this issue Nov 14, 2024 — with Linear · 0 comments · Fixed by #311
Assignees
Labels
bug Something isn't working

Comments

Copy link
Owner

HugoRCD commented Nov 14, 2024

No description provided.

@HugoRCD HugoRCD added the bug Something isn't working label Nov 14, 2024 — with Linear
@HugoRCD HugoRCD self-assigned this Nov 14, 2024
HugoRCD added a commit that referenced this issue Nov 14, 2024
Fixes #308

Fix error on copy-paste if key value has '='.

* **apps/shelve/app/components/project/CreateVariables.vue**
  - Update `parseEnvFile` function to split only on the first '='.
  - Update `paste` event handler to split only on the first '='.
* **apps/lp/app/components/vault/Encrypt.vue**
  - Update `saveEnvFile` function to split only on the first '='.
* **apps/lp/app/components/vault/Decrypt.vue**
  - Update `decryptEnvFile` function to split only on the first '='.
* **packages/cli/src/utils/env.ts**
  - Update `copyEnv` function to split only on the first '='.
  - Update `downloadEnv` function to split only on the first '='.
* **apps/shelve/app/utils/clipboard.ts**
  - Update `copyToClipboard` function to split only on the first '='.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/HugoRCD/shelve/issues/308?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant