Commit e0079d1
authored
fix: reject HP_SHARED_KEY with FRP-incompatible characters (#104)
* fix: reject HP_SHARED_KEY containing characters that break FRP TOML config
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
* chore: bump /info endpoint version to 0.4
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
* fix: move HP_SHARED_KEY validation after strip_quotes and stop rejecting apostrophes
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
---------
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>1 parent f68704b commit e0079d1
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
| 731 | + | |
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
130 | 143 | | |
131 | 144 | | |
132 | 145 | | |
| |||
0 commit comments