Repository navigation
fix(vespera-bridge): keep unframed form bodies empty; reject padded plugin triples - #649
Merged
Merged
Conversation
…lugin triples - FormBodySupport / ReactiveFormBodySupport: an empty form body with no Content-Length and no Transfer-Encoding on an HTTP/1.x request has no body. Filter-injected parameters are no longer rebuilt into it. The servlet side also requires the stream to have been drained before the read, as the multipart path does. A filter-drained chunked body is still rebuilt. - NativePlatform (gradle plugin): a vespera.targets triple with surrounding whitespace is rejected naming the key, instead of reaching cargo --target. - Executor thread-start failure while an idle worker is parked: refuted (the parked worker is already signalled for the earlier queued task). A pin test covers it. - Changepack: .changepacks/changepack_log_java_round63.json (Patch, all 7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round 63 Java findings
Fixed
Content-LengthnorTransfer-Encodinghas no body (RFC 9112 6.3). An empty body was rebuilt from filter-injected parameters such asrole=admin. Servlet:FormBodySupport.recoverConsumedBodynow recovers an undeclared-length body only when the stream was drained before the read and the request is not framed-bodyless. The chunked, drained case still rebuilds. WebFlux twinReactiveFormBodySupport: an unframed request is not rebuilt fromgetFormData(). Tests:FormBodySupportTest(two new cases),ReactiveFormBodyTest(reactor-netty E2E with an injecting decorator). Both fail with the guards removed; verified.NativePlatform.plannedBuildsaccepted" aarch64-unknown-linux-gnu", because the arch and OS checks read only the leading segment. It reachedcargo --targetand failed as an unknown target. The triple must now be non-empty and equal to its trim, and the error names the key. Test:aTripleWithSurroundingWhitespaceIsRejectedNamingTheKey(fails without the guard).Refuted
queue.size() > idle + starting. Every parked idle worker is then already signalled for an earlier queued task, so none is left parked. The queued task waits for a busy or already-signalled worker, not for a keep-alive. AddedaFailedStartWhileAnIdleWorkerIsParkedStillRunsEveryQueuedTaskas a pin; it passes on the unchanged executor.Changepack:
.changepacks/changepack_log_java_round63.json(Patch, all 7 packages). Verified:libs/vespera-bridge./gradlew clean testandlibs/vespera-bridge-gradle-plugin./gradlew testboth pass (JDK 17,--no-daemon).🤖 Generated with Claude Code