Commit c4de247
committed
bug #2829 [LiveComponent] Fix query string decoding with no
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[LiveComponent] Fix query string decoding with no `=`
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Docs? | no
| Issues | Fix #2826 (when released and a website update)
| License | MIT
The root cause of #2826 is in fact a bug in LiveComponent ... that i'm very surprised no one already experienced oO
In url_utils: fromQueryString missed a nullcheck. Triggering a TypeError.
`
?foo&bar=
`
Commits
-------
e53fc8b [LiveComponent] Fix query string decoding with no `=`= (smnandre)File tree
3 files changed
+28
-2
lines changed- src/LiveComponent/assets
- dist
- src
- test
3 files changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2798 | 2798 | | |
2799 | 2799 | | |
2800 | 2800 | | |
2801 | | - | |
| 2801 | + | |
2802 | 2802 | | |
2803 | 2803 | | |
2804 | 2804 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
118 | 144 | | |
119 | 145 | | |
120 | 146 | | |
| |||
0 commit comments