[PR #68] [CLOSED] Updated sharepoint to make use of redirect 302 responses #96

Closed
opened 2026-10-18 21:14:19 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/oikb/pull/68
Author: @rechardp
Created: 6/30/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (2)

  • 998f0ae Updated sharepoint to make use of redirect 302 responses
  • b4d4a42 Updated the correct http request to follow redirects when reading files from SharePoint. This ensures that the content is retrieved correctly even if the file has been moved or renamed.

📊 Changes

3 files changed (+9 additions, -2 deletions)

View changed files

📝 .gitignore (+3 -0)
📝 src/oikb/connectors/sharepoint.py (+5 -1)
📝 src/oikb/history.py (+1 -1)

📄 Description

Found a bug


[owui-oikb-sharepoint-sync] 2026-06-30T09:01:21.396464165Z Redirect location: 'https://x.sharepoint.com/_layouts/15/download.aspx?UniqueId=xxxxx&ApiVersion=2.0'```

---

<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/oikb/pull/68 **Author:** [@rechardp](https://github.com/rechardp) **Created:** 6/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`998f0ae`](https://github.com/open-webui/oikb/commit/998f0aeee4c6f35089757a825ae6809561e65afa) Updated sharepoint to make use of redirect 302 responses - [`b4d4a42`](https://github.com/open-webui/oikb/commit/b4d4a4267751938ef34a363f7eef23184c188218) Updated the correct http request to follow redirects when reading files from SharePoint. This ensures that the content is retrieved correctly even if the file has been moved or renamed. ### 📊 Changes **3 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -0) 📝 `src/oikb/connectors/sharepoint.py` (+5 -1) 📝 `src/oikb/history.py` (+1 -1) </details> ### 📄 Description Found a bug ```2026-06-30T09:01:21.396450861Z ✗ Project Management/Team Onboarding.pdf: Redirect response '302 Found' for url 'https://graph.microsoft.com/v1.0/drives/xxxxxx/root:/Project%20Management/Team%20Onboarding.pdf:/content' [owui-oikb-sharepoint-sync] 2026-06-30T09:01:21.396464165Z Redirect location: 'https://x.sharepoint.com/_layouts/15/download.aspx?UniqueId=xxxxx&ApiVersion=2.0'``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 21:14:19 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/oikb#96
No description provided.