ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 29,568
- Points
- 823
Reputation:
Whenever an empty value is supplied to a
I understand it's clamping the values, but this is opaque and results in unexpected behavior. Type casting and mutation should be separate so the latter is explicit, or a descriptive exception should be thrown and marked with...
Read more
Continue reading...
POSINT field, InputFilterer::cleanInternal converts it to a 1 instead of omitting it. NUM, UNUM, and FLOAT have the same problem in the appropriate setting when the value is out of range.I understand it's clamping the values, but this is opaque and results in unexpected behavior. Type casting and mutation should be separate so the latter is explicit, or a descriptive exception should be thrown and marked with...
Read more
Continue reading...