Repository navigation
Commit 07734ab
Keep out-of-range and overflowing coordinates out of client.geo
Related to https://app.basecamp.com/2914079/buckets/21350690/card_tables/cards/10115825721
Float("1e999") is Infinity, which JSON can't generate, so a bad
CF-IPLatitude or CF-IPLongitude header broke the request's log line.
Log a location only when both coordinates are in range.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 629ac67 commit 07734ab
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
0 commit comments