[PR #318] [MERGED] Fix curl import: decode Unicode escape sequences in $'...' strings #240

Closed
opened 2025-12-29 07:20:00 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/318
Author: @gschier
Created: 12/9/2025
Status: Merged
Merged: 12/9/2025
Merged by: @gschier

Base: mainHead: claude/fix-oauth2-refresh-token-01Lc2hKpzHR5CY2hbU9nXnPT


📝 Commits (1)

  • 9edddf1 Fix curl import: decode Unicode escape sequences in $'...' strings

📊 Changes

2 files changed (+83 additions, -3 deletions)

View changed files

📝 plugins/importer-curl/src/index.ts (+33 -3)
📝 plugins/importer-curl/tests/index.test.ts (+50 -0)

📄 Description

https://feedback.yaak.app/p/curl-requests-not-getting-parsed-properly

When importing curl commands with $'...' style strings (ANSI-C quoting), Unicode escape sequences like \u0021 (!) were not being properly decoded.


🔄 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/mountain-loop/yaak/pull/318 **Author:** [@gschier](https://github.com/gschier) **Created:** 12/9/2025 **Status:** ✅ Merged **Merged:** 12/9/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `claude/fix-oauth2-refresh-token-01Lc2hKpzHR5CY2hbU9nXnPT` --- ### 📝 Commits (1) - [`9edddf1`](https://github.com/mountain-loop/yaak/commit/9edddf177a41f6484c1d1fee7b9b6da883c49724) Fix curl import: decode Unicode escape sequences in $'...' strings ### 📊 Changes **2 files changed** (+83 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `plugins/importer-curl/src/index.ts` (+33 -3) 📝 `plugins/importer-curl/tests/index.test.ts` (+50 -0) </details> ### 📄 Description https://feedback.yaak.app/p/curl-requests-not-getting-parsed-properly When importing curl commands with $'...' style strings (ANSI-C quoting), Unicode escape sequences like \u0021 (!) were not being properly decoded. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:20:00 +01:00
adam closed this issue 2025-12-29 07:20:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#240