Commit 39334b6
authored
Add URL encoding to auth_redir cookie value (#86)
Storing a URI directly in the auth_redir cookie without encoding has led
to issues where browsers misinterpret special characters, like semicolons,
as part of the cookie delimiter. This behavior results in the truncation of
the URI at the special character, causing incomplete or incorrect redirection
URLs after user authentication.1 parent 8da37d2 commit 39334b6
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | | - | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| 287 | + | |
| 288 | + | |
286 | 289 | | |
287 | | - | |
| 290 | + | |
288 | 291 | | |
289 | 292 | | |
290 | 293 | | |
| |||
0 commit comments