mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-27 09:46:06 +03:00
[GH-ISSUE #4016] [bug]: Wrong line endings #1419
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#1419
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 @TomB2 on GitHub (Apr 29, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4016
Is there an existing issue for this?
Current behavior
The local Hoppscotch editor for Windows sends LF rather that CRLF line endings for requests.
This is an severe issue for multipart/related requests as they require CRLF line endings.
See https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.1.4
Please ensure that proper CRLF line endings get send.
Steps to reproduce
Create any multipart request
Header:
multipart/related; type="application/xop+xml";start="http://tempuri.org/0";boundary="uuid:c321d6a5-6333-42f5-9221-8d88622b2de0+id=34";start-info="text/xml
Content:
--uuid:c321d6a5-6333-42f5-9221-8d88622b2de0+id=34
Content-ID: http://tempuri.org/0
Content-Transfer-Encoding: 8bit
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
Some xml data
--uuid:c321d6a5-6333-42f5-9221-8d88622b2de0+id=34
Content-Type: application/pkcs7-signature
Content-Transfer-Encoding: binary
Content-ID: http://example.org/my.hsh
Some binary data
--uuid:c321d6a5-6333-42f5-9221-8d88622b2de0+id=34--
And check the raw request in your receiver of choice
Environment
Production
Version
Local