[PR #3063] [CLOSED] Refactor validate_url in RAG #21176

Closed
opened 2026-04-20 03:23:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/3063
Author: @que-nguyen
Created: 6/12/2024
Status: Closed

Base: mainHead: dev


📝 Commits (1)

  • 16dfc9b Refactor validate_url in RAG

📊 Changes

1 file changed (+8 additions, -6 deletions)

View changed files

📝 backend/apps/rag/main.py (+8 -6)

📄 Description

  • Skip allow_redirects and check status_code to validate URL existence, avoiding excessive redirects often found on advertising pages
  • Replaced raise exception with log.exception.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/3063 **Author:** [@que-nguyen](https://github.com/que-nguyen) **Created:** 6/12/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (1) - [`16dfc9b`](https://github.com/open-webui/open-webui/commit/16dfc9b904d6c647b10cb56d8987c8e6c7194485) Refactor validate_url in RAG ### 📊 Changes **1 file changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/rag/main.py` (+8 -6) </details> ### 📄 Description - Skip allow_redirects and check status_code to validate URL existence, avoiding excessive redirects often found on advertising pages - Replaced raise exception with log.exception. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 03:23:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#21176