Commit 40f14bb
committed
Switch token separate to URL safe character . (dot)
Some email clients replace double slashes with a single slash.
The double slash occured for users with no last_login date (newly
created users).
To bypass this issue, the separator is changed to . (dot) as it is
a non-reserved URL safe caracter (RFC3986 2.3) and not port of the
base64url alphabet.
See also:
https://www.ietf.org/rfc/rfc3986.txt
https://tools.ietf.org/html/rfc46481 parent 68ba00f commit 40f14bb
File tree
4 files changed
+7
-4
lines changed- mailauth
- tests
4 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
0 commit comments