Fix GitHub auth token bug using wrong HTTP header capitalization in Python2.7

Review Request #11173 — Created Sept. 18, 2020 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

When trying to add a newly configured repo, it complained about the
GitHub Auth Token missing required permissions.

The underlying issue was that the wrong capitalization was used when
getting the OAuth scopes header for Python2.7.

Did the following with all relevant versions of Python3 and 2:

  • Ran unit tests and they passed

  • Manually added a repo with with a personal access token

Changes between revision 1 and 2

orig
1
2
3
4
5

Commits

Summary ID Author
fix bug with GitHub Auth tokens when configuring a repo (release-4.0.x)
3b470b8c48f788b886134c63cc0758a50e3aa5e3 HailanXyouknow
Fix GitHub auth token bug using wrong HTTP header capitalization
f0f3172588ad0dfc9c14f3aa20a7a09cf7bcb67d HailanXyouknow

Files

Loading...