• Resolved dovob

    (@dovob)


    I think found a bug.
    On 32bit systems converting the phone number to int fails with large digits resulting OTP verification fails

    Location 1:
    class-olws-ajax-request-handler -> olws_handle_otp_verification :
    $result = $this->handle_messaging->olws_verify_otp(
    (int) $phone_without_country, <– Problem!!
    (string) $phone_without_country,

    Location 2:
    class-olws-handle-messaging ->olws_verify_otp:
    $phone = filter_var( $phone, FILTER_VALIDATE_INT ); <– Problem!

    May be use of ctype_digit()?

    • This topic was modified 5 years, 6 months ago by dovob.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘bug with 32bit systems with phone number bigger then INT size’ is closed to new replies.