[GH-ISSUE #4514] [BUG]: File Parsing Fails for URLs With Uppercase Characters #2872

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

Originally created by @angelplusultra on GitHub (Oct 8, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4514

Originally assigned to: @angelplusultra on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

When attempting to pull and parse a file via a URL either with RAG modal or @agent mode, if the URL contains uppercase characters the prcess will fail, this is because the validateURL func converts the URL to lowercase which results in a 404 error when the fetching the content type. This is the culprit:

https://github.com/Mintplex-Labs/anything-llm/blob/89a01492b51a23150b59732166b90ebdd1843c50/collector/utils/url/index.js#L83

Remove .toLowerCase() and it should work.

Are there known steps to reproduce?

No response

Originally created by @angelplusultra on GitHub (Oct 8, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4514 Originally assigned to: @angelplusultra on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? When attempting to pull and parse a file via a URL either with RAG modal or `@agent` mode, if the URL contains uppercase characters the prcess will fail, this is because the `validateURL` func converts the URL to lowercase which results in a 404 error when the fetching the content type. This is the culprit: https://github.com/Mintplex-Labs/anything-llm/blob/89a01492b51a23150b59732166b90ebdd1843c50/collector/utils/url/index.js#L83 Remove .toLowerCase() and it should work. ### Are there known steps to reproduce? _No response_
yindo added the bugpossible bug labels 2026-02-22 18:31:36 -05:00
yindo closed this issue 2026-02-22 18:31:36 -05:00
yindo changed title from [BUG]: File Parsing Fails for URLs With Uppercase Characters to [GH-ISSUE #4514] [BUG]: File Parsing Fails for URLs With Uppercase Characters 2026-06-05 14:49:00 -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#2872