Numerical params being transformed
Closed this issue · 1 comments
unfrgivn commented
Something is converting params that are numeric and prefixed with a "0" to a different number.
Test
Send a URL with test=013345
and the saved param is 5861
Send a URL with test=013346
and the saved param is 5862
At least there is a sequential pattern to this conversion
unfrgivn commented
A-ha https://www.javascripttutorial.net/es6/octal-and-binary-literals/
Need to check this when passing a number from the Server via PHP to JS and ensure leading 0 numbers are sent as strings.