Commit 1c42613
committed
fix: encode consent cookie value; always show details on openConsentPreferences
- encodeURIComponent/decodeURIComponent in setCookie/getCookie so JSON
characters (quotes, commas) don't violate RFC 6265 cookie-value rules
- showCustomizeOptions() now always sets display=block instead of toggling;
clicking the footer 'Cookie Preferences' link while banner is open would
previously hide the details panel instead of reliably showing it1 parent e769ef7 commit 1c42613
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| |||
0 commit comments