mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibWeb: Don't crash on FormData.append() with emoji in name
If you can believe it, we were once again using StringBuilder's append() when we really wanted append_code_point().
This commit is contained in:
parent
0d74ced9b5
commit
ec081a2ef5
3 changed files with 11 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
PASS (Didn't crash)
|
|
@ -0,0 +1,9 @@
|
|||
<div id=test></div>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
const formData = new FormData();
|
||||
formData.append("🧐", "");
|
||||
println("PASS (Didn't crash)");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue