overseerr
overseerr copied to clipboard
feat(plextv): add custom applicationTitle to Plex OAuth
Description
When using the custom application title from the settings the Plex OAuth flow still uses the old one (as seen here. This change makes it so that the applicationTitle is read from the settings.json file on disk.
I initially tried to read from server/lib/settings.ts
but I did not succeed. Maybe someone else has better luck, this solution does however work.
Issues Fixed or Closed
- Fixes additional issue in comments on #404.
We actually used to use the application title here, but ended up just hardcoding the value because some users included special characters in their app titles that broke it. 😔
See f7146e41899a59f75b963e1cc9dac9eddf24aebe and the linked issue.
We actually used to use the application title here, but ended up just hardcoding the value because some users included special characters in their app titles that broke it. 😔
See f7146e4 and the linked issue.
Ah I see! I missed that issue! Would it be possible to sanitize the applicationTitle instead as to remove forbidden characters? I could give the implementation a try!
Ah I see! I missed that issue! Would it be possible to sanitize the applicationTitle instead as to remove forbidden characters? I could give the implementation a try!
Yeah, it was a long time ago. But yes, I think sanitizing or encoding the value would be fine!
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.