mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5629] [bug]: Commented lines generate newlines in the effective request #2180
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#2180
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?
Originally created by @JohannesBe on GitHub (Nov 28, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5629
Is there an existing issue for this?
Platform
Desktop App
Browser
Chrome
Operating System
Windows
Bug Description
Commented out lines should not generate a new line in the effective JSON sent over the wire.
For instance, take this request:
Has as output request something the likes of ( I removed some blank lines, you get the point):
This is really annoying when printing the body on a web server!
Also related: #5502
The trailing comma issue is really annoying when debugging with commented out lines!
You have to change the last line every time you send something!
Deployment Type
Hoppscotch Cloud
Version
No response
@myeonbi commented on GitHub (Nov 28, 2025):
Hi, I’ve tested this on the Web version (https://hoppscotch.io/
) using a JSON Body with commented lines, and the problem still appears:
Commented lines are removed from the request, but empty lines remain in the effective JSON sent over the wire.
This confirms that the issue (#5629) is still present.
I’d like to try fixing this. Could I be assigned to this issue?
Thanks!
@JohannesBe commented on GitHub (Dec 1, 2025):
Unfortunately, I cannot assign people, so we'll have to wait for a repo maintainer to do that :)