Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16181

OAuth provider id needs to be quoted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.9-RC1
    • 4.0.0-a1, 3.3, 3.2.8
    • Authentication, Login
    • None

      https://www.phpbb.com/community/viewtopic.php?f=641&t=2524651

       

      The oauth provider id can be an integer and when the WHERE clause is build with sql_build_array, the provider is not quoted and causes a SQL error.

       

      Suggested fix: enforce data types in the $data array with (string).

            Marc Marc
            mrgoldy mrgoldy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: