mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-23 14:10:42 -05:00
* fix: web pages with a port or username in the URL fail to load when SSL verification is on With web loader SSL verification enabled, an HTTPS link that spells out a port (even :443) or carries a username, like https://example.com:8443/ or https://user@example.com/, was always rejected and the page never loaded. The certificate check mistook the port and username for part of the site's name and always checked port 443. It now checks the site itself on the port given in the link, or 443 when there is none, so these pages load again. Sites with invalid certificates are still rejected. Fixes #34462 * fix: web pages signed by an internal CA fail to load when SSL verification is on With Verify SSL Certificate on, the certificate check that the Playwright web loader runs before reading a page trusted only the public certificate authorities, so a site signed by an internal CA was rejected even when that CA was set through the `AIOHTTP_CLIENT_SSL_CERT_FILE` environment variable. The check now trusts the same certificates as Open WebUI's other outbound requests, including a CA file named directly in `AIOHTTP_CLIENT_SESSION_SSL`. A CA file that holds only the internal CA therefore rejects public sites at this step too, as it already does for every other outbound request. Builds on #34476 and goes in after it. Fixes #34479