mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Replace "+" in value with a space while decoding search params
This commit is contained in:
parent
9c72fc9642
commit
d38b28b57b
Notes:
github-actions[bot]
2024-08-10 08:47:17 +00:00
Author: https://github.com/shannonbooth 🔰
Commit: d38b28b57b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1023
Reviewed-by: https://github.com/awesomekling
3 changed files with 14 additions and 1 deletions
|
@ -0,0 +1,10 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
const params = new URLSearchParams('key=value1+value2');
|
||||
for (const [key, value] of params) {
|
||||
println(`key '${key}'`);
|
||||
println(`value '${value}'`);
|
||||
}
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue