[PR #3843] chore: update escaping for special characters in key:value string #4549

Open
opened 2026-03-17 02:04:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3843
Author: @anwarulislam
Created: 2/19/2024
Status: 🔄 Open

Base: release/2024.3.0Head: fix/raw-key-value-escape-issue


📝 Commits (1)

  • 70b7b72 chore: remove escaping from key:value string

📊 Changes

2 files changed (+56 additions, -84 deletions)

View changed files

📝 packages/hoppscotch-data/package.json (+1 -0)
📝 packages/hoppscotch-data/src/rawKeyValue.ts (+55 -84)

📄 Description

Closes HFE-399

Description

In parameters, headers, or any other key value type input places if we write backslash \ we will see a bug that's replacing that backslash with "\\". This PR is to address that bug by removing escaping for all the special characters. Rather, inform the user not to use reserved characters as string


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3843 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 2/19/2024 **Status:** 🔄 Open **Base:** `release/2024.3.0` ← **Head:** `fix/raw-key-value-escape-issue` --- ### 📝 Commits (1) - [`70b7b72`](https://github.com/hoppscotch/hoppscotch/commit/70b7b72583590f528ddcff4793ea3c4cb685b199) chore: remove escaping from key:value string ### 📊 Changes **2 files changed** (+56 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-data/package.json` (+1 -0) 📝 `packages/hoppscotch-data/src/rawKeyValue.ts` (+55 -84) </details> ### 📄 Description Closes HFE-399 ### Description In parameters, headers, or any other key value type input places if we write backslash `\` we will see a bug that's replacing that backslash with `"\\"`. This PR is to address that bug by removing escaping for all the special characters. Rather, inform the user not to use reserved characters as string --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4549
No description provided.