Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-3_38] OAuth2 configuration: trim leading/trailing blanks from most parameters set from UI to avoid weird issues #58395

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

qgis-bot
Copy link
Collaborator

Backport #58394
Authored by: @rouault

…rs set from UI to avoid weird issues

I've been bitten by deadlock/crashes (in
src/auth/oauth2/core/qgsauthoauth2method.cpp, and with messages about
O2ReplyServer parent thread not being the current one), when erroneously inserting
a space character before the OAuth2 refresh token URL ('
https://something'). Removing it makes things work nicely.

So while this doesn't fix a potential more fundamental threading issue in some scenarios, this at
least avoids this weird error.
@github-actions github-actions bot added this to the 3.38.2 milestone Aug 14, 2024
Copy link

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit a8538d6)

@nyalldawson nyalldawson merged commit 980b212 into release-3_38 Aug 15, 2024
32 checks passed
@nyalldawson nyalldawson deleted the backport-58394-to-release-3_38 branch August 15, 2024 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants