projects
/
tokodon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8521eba
)
[PATCH] Fix possible erroneous trailing space in OAuth scope parameter
author
Joshua Goins
<josh@redstrate.com>
Tue, 15 Jul 2025 00:11:56 +0000
(20:11 -0400)
committer
Aurélien COUDERC
<coucouf@debian.org>
Thu, 24 Jul 2025 16:34:20 +0000
(18:34 +0200)
(cherry picked from commit
f17762668e9c9f27b4b338dbed6ec4cb3824772d
)
Co-authored-by: Laura Hausmann <laura@hausmann.dev>
Gbp-Pq: Name upstream_df89658d_Fix-possible-erroneous-trailing-space-in-OAuth-scope-parameter.patch
src/account/abstractaccount.cpp
patch
|
blob
|
history
diff --git
a/src/account/abstractaccount.cpp
b/src/account/abstractaccount.cpp
index bd1184aa1db66e450151b0e9a10e0bc8cc0e2e56..0530b30a8c7c8eb0c39d5d79d774157723a26927 100644
(file)
--- a/
src/account/abstractaccount.cpp
+++ b/
src/account/abstractaccount.cpp
@@
-150,7
+150,7
@@
void AbstractAccount::registerApplication(const QString &appName, const QString
const QJsonObject obj{
{QStringLiteral("client_name"), appName},
{QStringLiteral("redirect_uris"), m_redirectUri},
- {QStringLiteral("scopes"), QStringLiteral("read write follow %1").arg(m_additionalScopes)},
+ {QStringLiteral("scopes"), QStringLiteral("read write follow %1").arg(m_additionalScopes)
.trimmed()
},
{QStringLiteral("website"), website},
};
const QJsonDocument doc(obj);