Commit c7a71fc
fix: trim whitespace from query parameters to prevent cryptic errors (#208)
Leading/trailing spaces in the workers.dev URL (common when copy-pasting
from Cloudflare) caused UniFi to show unhelpful error messages. Trimming
input parameters handles this gracefully.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent d7f1fd3 commit c7a71fc
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments