pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/resterm
Module Name: pkgsrc
Committed By: drixter
Date: Tue Jul 7 12:34:26 UTC 2026
Modified Files:
pkgsrc/www/resterm: Makefile distinfo
Log Message:
resterm: Update to 0.45.2
Important fix: multipart/form-data requests
Multipart requests were effectively unusable in previous releases for typical hand-written requests and requests imported from curl -F via resterm -fc. If you use multipart/form-data, you should
upgrade.
What was broken. Several compounding bugs could corrupt multipart bodies: boundary lines (--...) were dropped during parsing because they were mistaken for -- comments. Part content starting with #,
//, > or @... could be misread as resterm syntax and multipart framing was sent with LF line endings instead of the CRLF delimiter/header framing required by RFC 7578/RFC 2046.
What's fixed. resterm now sends multipart bodies with curl compatible wire framing:
- CRLF delimiters and part headers, including a trailing CRLF after the closing boundary
- multipart body lines are preserved as body content instead of being parsed as comments, scripts or variables
- @file includes inside parts are injected as raw bytes, so binary uploads are not rewritten
- works the same whether your .http file uses LF or CRLF line endings
- applies to all multipart subtypes (form-data, mixed, related)
Directives placed after the closing boundary, such as # @capture, continue to parse as before. Non-multipart requests, GraphQL, gRPC, SSH, and K8s are unaffected.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/resterm/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/resterm/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/resterm/Makefile
diff -u pkgsrc/www/resterm/Makefile:1.10 pkgsrc/www/resterm/Makefile:1.11
--- pkgsrc/www/resterm/Makefile:1.10 Tue Jul 7 08:30:27 2026
+++ pkgsrc/www/resterm/Makefile Tue Jul 7 12:34:26 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2026/07/07 08:30:27 drixter Exp $
+# $NetBSD: Makefile,v 1.11 2026/07/07 12:34:26 drixter Exp $
-DISTNAME= resterm-0.45.1
+DISTNAME= resterm-0.45.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=unkn0wn-root/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Index: pkgsrc/www/resterm/distinfo
diff -u pkgsrc/www/resterm/distinfo:1.9 pkgsrc/www/resterm/distinfo:1.10
--- pkgsrc/www/resterm/distinfo:1.9 Tue Jul 7 08:30:27 2026
+++ pkgsrc/www/resterm/distinfo Tue Jul 7 12:34:26 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2026/07/07 08:30:27 drixter Exp $
+$NetBSD: distinfo,v 1.10 2026/07/07 12:34:26 drixter Exp $
BLAKE2s (github.com__make_now_just_heredoc_@v_v1.0.0.mod) = 6ac20d45dc73571467fbfa4fb284b576f5877808bb8938b2c883fc48fca05429
SHA512 (github.com__make_now_just_heredoc_@v_v1.0.0.mod) = 283a7606aaa0d7463b9744a13a6c2064ca5d815077622a5d36e43be704c17403d80e6a5e106f544baaacf922b14d106843d99c1af174808960cc27a3fc26db91
@@ -762,9 +762,9 @@ Size (nhooyr.io_websocket_@v_v1.8.7.mod)
BLAKE2s (nhooyr.io_websocket_@v_v1.8.7.zip) = f4ed468617b351c6663eaae8b75c1e32c4b53b2c6d3b964c0cc1a65070784c0f
SHA512 (nhooyr.io_websocket_@v_v1.8.7.zip) = bf99fcf8e3797080ea6c486dab6f677d00b22865cce152c98d350f429d75c25ffce1266c3ed0429172879e1725d770e651174d18b4438aa8fd40b2357d3bca31
Size (nhooyr.io_websocket_@v_v1.8.7.zip) = 74216 bytes
-BLAKE2s (resterm-0.45.1.tar.gz) = 21c7777feb9e30978759cc5f3d403fb54f36656ea31c3b9489d56d747c8f0083
-SHA512 (resterm-0.45.1.tar.gz) = f4549cf12a06d6fb6601144e2c976593689adbb2d89f11136c40d9f3d5befc67745aa42c4ddc4b45b1ab44b7a67576008dfd524974970ab87564cbb7b6a2f8d5
-Size (resterm-0.45.1.tar.gz) = 25411060 bytes
+BLAKE2s (resterm-0.45.2.tar.gz) = dc561ba4aa33354130ac4a4f530679918818f77860c932352312289d8f2b45cc
+SHA512 (resterm-0.45.2.tar.gz) = 243c32e69d8a9b97ee34011df4ea880a8deab3f7d8ad6ee0a5492a9bb5138b18dd090c7ee70dff4a9b704614d02b1cb537941807303793a3398b8f7356d72ae1
+Size (resterm-0.45.2.tar.gz) = 25415504 bytes
BLAKE2s (sigs.k8s.io_json_@v_v0.0.0-20250730193827-2d320260d730.mod) = 0b1238d89c77686f02002092d6c14b461423ce7c2fa906f554deffefd727014d
SHA512 (sigs.k8s.io_json_@v_v0.0.0-20250730193827-2d320260d730.mod) = ca8b000bb3d6dce184fd01445782fa95557ec7ff6328dcd225dc26a14fc1d2d69baacaebe9d8703c867c8902f846950f9aefcc80af4530735f4b4432b77e4490
Size (sigs.k8s.io_json_@v_v0.0.0-20250730193827-2d320260d730.mod) = 33 bytes
Home |
Main Index |
Thread Index |
Old Index