-
Notifications
You must be signed in to change notification settings - Fork 69
fix: refuse a function in form action=, it leaked server action source #1167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
b61da0d
fix: refuse a function in form action=, it leaked server source
vivek7405 4e93870
fix: close the same form-action leak in the streaming renderer
vivek7405 d2f302a
refactor: drop the unreleased form-binding machinery from this branch
vivek7405 edbebb2
refactor: keep isFormActionAttr internal to the guard module
vivek7405 147b25c
fix: guard the .action property binding, the third leak path
vivek7405 31ddf50
docs: cover the form-action throw on the docs site, fix the action= a…
vivek7405 c128743
fix: close four bypasses that walked straight past the action guard
vivek7405 f53bb09
test: prove the action guard refuses identically on Node and Bun
vivek7405 9725114
fix: stop the guard crashing on a cyclic array and refusing event bin…
vivek7405 a8c8247
test: restore the dropped quoted-bool case, name the clause each test…
vivek7405 5baa930
test: cover the streaming native-prop clause in the rendering suite
vivek7405 0080dff
test: correct the clause map, and stop hand-rolling a case that fits …
vivek7405 48fce50
test: isolate the browser hosts so a failure names the right test
vivek7405 4dce2f3
test: pin the scope boundary, and stop duplicating the clause map
vivek7405 7b292e7
test: pin the scope boundary on every renderer, not just the buffered…
vivek7405 71c1d15
test: assert what the stream actually flushed, not what survived the …
vivek7405 32a23af
test: inline the leak marker so the assertions cannot go tautological
vivek7405 5af0027
test: say what the streaming test actually proves, and why Bun's sour…
vivek7405 6abe618
test: state precisely when a pre-refusal chunk reaches the consumer
vivek7405 cab06a8
fix: read the stream the way a real consumer does, and stop overstati…
vivek7405 034b936
fix: pin the worst-case stream consumer, and stop calling outer value…
vivek7405 02e6729
fix: make an undersized drain burst fail loudly instead of reporting …
vivek7405 bf4a914
fix: correct the stream mechanism, the burst boundary, and the foldin…
vivek7405 3fb056b
test: say that the streaming drain proves nothing on the shipped path
vivek7405 1bb0337
docs: stop stating a rule for Bun's constant folding, there isn't a s…
vivek7405 1e43a3d
fix: contain a throw from an async render commit
vivek7405 352c348
test: pin the guard's case folding, the one branch nothing covered
vivek7405 a77bdbe
docs: note the action= carve-out where the binding rules are stated
vivek7405 f35ca6d
docs: correct the .action carve-out and drop the process narration
vivek7405 4abec56
test: prove commit containment in a real browser, not just linkedom
vivek7405 3478071
fix: refuse a function .prop only where the property reflects
vivek7405 3677176
fix: settle the update cycle when the pending commit rejects
vivek7405 eed0e7e
docs: state what the isolation swallows, and the comment hole it misses
vivek7405 9331eef
fix: do not let a superseded cycle's late rejection clobber the DOM
vivek7405 fbfbf1c
docs: say the stringify leak is not special to comments
vivek7405 884ac75
fix: release the update cycle even if error reporting throws
vivek7405 ac9afca
docs: correct two stale counts in the guard's own comments
vivek7405 1ea8146
docs: drop the tracked-separately claim for the Suspense silence
vivek7405 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.