mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3509] [MERGED] fix(common): parentheses and single quotes support to curl imports #4417
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4417
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/3509
Author: @ajmalmohad
Created: 11/8/2023
Status: ✅ Merged
Merged: 12/4/2023
Merged by: @AndrewBastin
Base:
release/2023.12.0← Head:bug/unrecognized-chars-curl📝 Commits (1)
c147e8efix(common): parentheses and single quotes support to curl📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
packages/hoppscotch-common/src/helpers/curl/sub_helpers/url.ts(+6 -1)📄 Description
Closes #3485
Description
Added parentheses and single quotes support to importing from curl. Changed the regex to include the parentheses and single quotes. Before that the single quotes existing at the start and end of URL are removed using
replace(/^'|'$/g, ""). Also ran a lint fix.Checks
Additional Information
Screencast from 08-11-23 09:45:44 PM IST.webm
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.