Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10972

500 error when oauth_timestamp is in scientific notation (BB-12111)

    XMLWordPrintable

Details

    Description

      In developing a new OAuth integration, I had a bug where my Authorization header included "oauth_timestamp=1.42333209929e+12" rather than "oauth_timestamp=1423332099290".

      Unlike most mistakes in formatting the Authorization header, this produced a 500 HTTP error, not a 401 or 403 HTTP error. I suspect I hit an edge case in Bitbucket's OAuth header parser.

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            e4b092cb4ed5 michaeljedgar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: