Skip to content

fix(oauth): instance name encoding on oauth app in admin - #49804

Open
byt3sage wants to merge 46 commits into
nextcloud:masterfrom
byt3sage:bug/oauth-instance-name-decoding-39956
Open

fix(oauth): instance name encoding on oauth app in admin#49804
byt3sage wants to merge 46 commits into
nextcloud:masterfrom
byt3sage:bug/oauth-instance-name-decoding-39956

Conversation

@byt3sage

Copy link
Copy Markdown

Summary

  • This PR aims to resolve the issue with the encoding of the instance name when shown in the OAuth settings in Nextcloud admin.
  • This is my first PR for Nextcloud (and hopefully the first of many) so I'm keen for any feedback if this approach doesn't follow what it should.
  • I've removed instance name from the translate function. My reasoning for this is the instance name will already be in the users own language and this avoids the issue of the translate function escaping special characters.

TODO

  • Remove instance name binding from the translate function and use string interpolation instead.
  • Update translation files to ensure the string prior to the instance name is still translated.

Screenshots

Before
image

After
image

Checklist

…decoding
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
@kesselb

Copy link
Copy Markdown
Contributor

Thanks for your pull request 👍

Please revert the changes to the language files. The files are synced automatically from Transifex. It's enough to change the source.

@byt3sage

Copy link
Copy Markdown
Author

@kesselb Ah that makes sense! I've reverted these back now.

byt3sageand others added 23 commits December 13, 2024 09:14
…yt3sage/server into bug/oauth-instance-name-decoding-39956
…yt3sage/server into bug/oauth-instance-name-decoding-39956
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…yt3sage/server into bug/oauth-instance-name-decoding-39956
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nfebe <fenn25.fn@gmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: grnd-alt <github@belakkaf.net>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
…ric one
Let the controller access the HintException and show the error to the user.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
This fixes a regression that bad password returned 403 instead of 400
because of previous changes.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: byt3sage <jjt@tfmail.co.uk>
@nextcloud-botnextcloud-bot mentioned this pull request Sep 18, 2025
This was referenced Sep 25, 2025
This was referenced Jan 7, 2026
This was referenced Jan 14, 2026
@nextcloud-botnextcloud-bot mentioned this pull request Jan 22, 2026
This was referenced Jan 29, 2026
This was referenced Feb 11, 2026
@blizzzblizzz modified the milestones: Nextcloud 33, Nextcloud 34Feb 16, 2026
@DorraJaouad
DorraJaouad requested a review from a team as a code ownerApril 23, 2026 09:41
@DorraJaouad
DorraJaouad requested review from nfebe, sorbaugh and szaimen and removed request for a teamApril 23, 2026 09:41
@nextcloud-botnextcloud-bot mentioned this pull request May 27, 2026
@nextcloud-botnextcloud-bot mentioned this pull request Jun 4, 2026
This was referenced Jun 5, 2026
@susnuxsusnux added the community pull requests from community label Jun 9, 2026
@susnuxsusnux removed this from the Nextcloud 34.0.1 milestone Jun 9, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

communitypull requests from communityfeedback-requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Instance name not decoded in the "OAuth 2.0-Clients" config menu

14 participants

@byt3sage@kesselb@joshtrichards@susnux@blizzz@skjnldsv@nextcloud-bot@Koc@nextcloud-command@icewind1991@nfebe@grnd-alt@come-nc@Pytal