Commit 9c66946
committed
fix: accept the mixed-case keys Pushover issues
Pushover application tokens and user keys are 30 characters from a
case-sensitive alphanumeric alphabet, but both fields were validated
against /^[a-z0-9]{30}$/. A key containing a single capital - which is most
of them - could not be saved at all: the field stayed outlined in red and
the integration could never be created.
The workaround reporters arrived at was to lowercase their own key, which
is not the same key and names a different account, so the integration then
saved and silently delivered nothing.
Both fields move together, as they share the same alphabet.
Fixes #7261 parent 1a2045b commit 9c66946
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments