Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[Bug 22557] OAuth2 - Prevent double URL encoding of authentication code#7381

Merged
livecodepanos merged 1 commit into
livecode:develop-9.6from
bwmilby:bwm-22557-oauth2
Jun 26, 2020
Merged

[Bug 22557] OAuth2 - Prevent double URL encoding of authentication code#7381
livecodepanos merged 1 commit into
livecode:develop-9.6from
bwmilby:bwm-22557-oauth2

Conversation

@bwmilby

@bwmilby bwmilby commented Jun 20, 2020

Copy link
Copy Markdown
Contributor

The data returned after authentication is URL encoded. The existing behavior would URL encode the authentication code. In several cases, the code returned by Google included characters that were already encoded which invalidated the code when encoded a second time.

@livecodepanos livecodepanos changed the base branch from develop to develop-9.6 June 22, 2020 12:11
@livecodepanos livecodepanos changed the base branch from develop-9.6 to develop June 22, 2020 12:11
@livecodepanos

Copy link
Copy Markdown
Contributor

Many thanks for the PR @bwmilby.

Could you please rebase it against develop-9.6 branch, so as the fix can appear in the next LC 9.6.x release?

Thanks!

@bwmilby bwmilby changed the base branch from develop to develp-9.0 June 22, 2020 12:42
@bwmilby bwmilby changed the base branch from develp-9.0 to develop June 22, 2020 12:43
@livecodepanos livecodepanos added this to the 9.6.1-rc-1 milestone Jun 22, 2020
@bwmilby bwmilby force-pushed the bwm-22557-oauth2 branch from 55b9f7c to e08236c Compare June 23, 2020 01:33
@bwmilby bwmilby changed the base branch from develop to develop-9.6 June 23, 2020 01:34
@bwmilby

bwmilby commented Jun 23, 2020

Copy link
Copy Markdown
Contributor Author

@livecodepanos I think I performed the rebase correctly. Let me know if there are any further issues to resolve.

@livecodepanos

Copy link
Copy Markdown
Contributor

great, thanks @bwmilby

@livecodepanos

Copy link
Copy Markdown
Contributor

@livecode-vulcan review ok e08236c

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @livecodepanos ok e08236c

livecode-vulcan added a commit that referenced this pull request Jun 23, 2020
[Bug 22557] OAuth2 - Prevent double URL encoding of authentication code

The data returned after authentication is URL encoded.  The existing behavior would URL encode the authentication code.  In several cases, the code returned by Google included characters that were already encoded which invalidated the code when encoded a second time.
@livecode-vulcan

Copy link
Copy Markdown
Contributor

😎 test success e08236c

  • try-community-armv6-android-sdk26_ndk16r15: success
  • try-community-armv7-android-ndk16r15: success
  • try-community-arm64-android-ndk16r15: success
  • try-community-x86-android-ndk16r15: success
  • try-community-x86_64-android-ndk16r15: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos13.5: success
  • try-community-universal-ios-iphonesimulator13.5: success
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: success
  • try-community-x86_64-win32: success

@livecodepanos livecodepanos merged commit 6ed3a90 into livecode:develop-9.6 Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants