open-webui/backend/open_webui
Ethan T. a97f5adf95
fix: URL-encode OAuth error message in redirect URL (#22415)
- URL-encodes the OAuth error message when constructing the redirect URL in the OIDC callback handler
- Without encoding, error messages containing spaces, ampersands, or other special characters produce malformed URLs that the frontend cannot parse correctly
- The custom OAuth client callback handler already correctly uses urllib.parse.quote_plus() for the same purpose; this fix brings the OIDC handler in line with that pattern

Co-authored-by: gambletan <tan@gambletan.com>
2026-03-08 16:47:47 -05:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal fix: use NullPool for SQLCipher engine to prevent segfault (#22273) 2026-03-06 14:04:10 -06:00
migrations chore: format 2026-03-07 20:14:32 -06:00
models refac 2026-03-07 20:22:01 -06:00
retrieval refac 2026-03-08 16:41:21 -05:00
routers fix: prevent pipeline filter from corrupting payload on HTTP error (#22445) 2026-03-08 16:44:35 -05:00
socket feat: Timeout for event_call events (#22222) 2026-03-04 16:39:53 -06:00
static refac 2025-08-10 00:02:58 +04:00
storage chore: format 2026-02-11 16:24:11 -06:00
test refac 2026-02-21 14:19:28 -06:00
tools refac 2026-03-07 18:18:02 -06:00
utils fix: URL-encode OAuth error message in redirect URL (#22415) 2026-03-08 16:47:47 -05:00
__init__.py Update __init__.py 2025-04-15 09:55:35 +02:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py refac 2026-03-07 20:05:18 -06:00
constants.py feat/enh: optional password validation 2025-11-20 17:44:49 -05:00
env.py refac 2026-03-06 20:12:37 -06:00
functions.py chore: format 2026-02-11 16:24:11 -06:00
main.py fix: replace bare except with Exception in oauth.py (#22420) 2026-03-08 16:36:53 -05:00
tasks.py refac 2026-02-12 15:29:34 -06:00