mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-09 11:45:57 -05:00
[PR #4768] [MERGED] fix: Fix parameter handling for PostgreSQL URLs #60413
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4768
Author: @zhaofengli
Created: 8/21/2024
Status: ✅ Merged
Merged: 8/22/2024
Merged by: @tjbck
Base:
dev← Head:db-url-fixes📝 Commits (2)
a53c2a8fix: Pass all parsed options to ReconnectingPostgresqlDatabasee63d577fix: Decode URL-encoded characters in passwords📊 Changes
1 file changed (+3 additions, -9 deletions)
View changed files
📝
backend/apps/webui/internal/wrappers.py(+3 -9)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This PR fixes PostgreSQL support so parameters like
sslmode=requireare honored and passwords containing special characters can be used.Fixed
Additional Information
connect()in peewee. Without this fix, URLs without port numbers result in errors and parameters likesslmode=requireare silently ignored.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.