Commit 94bdd12
committed
fix: correctly classify format-rejected ports as 'not-numeric' instead of 'out-of-range'
When Number() produces a finite integer that is within the valid port range
(1-65535) but Schema.NumberFromString still rejected the input (e.g. '+8080',
'0x50'), the reason should be 'not-numeric' (format issue) rather than
'out-of-range'.1 parent 3f0e34d commit 94bdd12
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
913 | | - | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
914 | 916 | | |
915 | 917 | | |
916 | 918 | | |
| |||
0 commit comments