[PR #598] [MERGED] normalize paths for submit URLs of `remove-documents #3411

Closed
opened 2026-02-22 18:33:43 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/598
Author: @timothycarambat
Created: 1/14/2024
Status: Merged
Merged: 1/14/2024
Merged by: @timothycarambat

Base: masterHead: secuirty/remove-document-normalization


📝 Commits (1)

  • 05c0d48 normalize paths for submit URLs

📊 Changes

3 files changed (+29 additions, -40 deletions)

View changed files

📝 server/endpoints/system.js (+2 -4)
📝 server/utils/files/index.js (+24 -32)
📝 server/utils/files/purgeDocument.js (+3 -4)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

What is in this change?

Enforces normalization of the submitted URLs to not honor relative pathing.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/598 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 1/14/2024 **Status:** ✅ Merged **Merged:** 1/14/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `secuirty/remove-document-normalization` --- ### 📝 Commits (1) - [`05c0d48`](https://github.com/Mintplex-Labs/anything-llm/commit/05c0d48234bddc56cf323a08646cc9df3511e160) normalize paths for submit URLs ### 📊 Changes **3 files changed** (+29 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/system.js` (+2 -4) 📝 `server/utils/files/index.js` (+24 -32) 📝 `server/utils/files/purgeDocument.js` (+3 -4) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### What is in this change? Enforces normalization of the submitted URLs to not honor relative pathing. ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:33:43 -05:00
yindo closed this issue 2026-02-22 18:33:43 -05:00
yindo changed title from [PR #598] normalize paths for submit URLs of `remove-documents to [PR #598] [MERGED] normalize paths for submit URLs of `remove-documents 2026-06-05 15:13:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3411