[PR #865] [CLOSED] fix ref: make path case insensitive #1091

Closed
opened 2026-02-17 17:21:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/865
Author: @mdrxy
Created: 10/13/2025
Status: Closed

Base: mainHead: mdrxy/case-insensitive-urls


📝 Commits (2)

  • 33aafaf fix ref: make path case insensitive
  • ced6b11 Merge branch 'main' into mdrxy/case-insensitive-urls

📊 Changes

4 files changed (+153 additions, -1 deletions)

View changed files

reference/middleware.test.ts (+94 -0)
reference/middleware.ts (+33 -0)
📝 reference/package.json (+8 -1)
reference/tsconfig.json (+18 -0)

📄 Description

URLs should be case insensitive unless there is a good reason otherwise. Currently, I don't see any situations where we rely on it (or should be).

I'm not married to this; if adding middleware introduces unnecessary excess overhead, we can close this unmerged.

This is currently only scoped to the reference docs; unclear whether supported in our Mintlify deployment.


🔄 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/langchain-ai/docs/pull/865 **Author:** [@mdrxy](https://github.com/mdrxy) **Created:** 10/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mdrxy/case-insensitive-urls` --- ### 📝 Commits (2) - [`33aafaf`](https://github.com/langchain-ai/docs/commit/33aafaf34fcd61a55745f92a8d4d564be3d570f8) fix ref: make path case insensitive - [`ced6b11`](https://github.com/langchain-ai/docs/commit/ced6b11b822c28844cd7690066915f0f5ae84334) Merge branch 'main' into mdrxy/case-insensitive-urls ### 📊 Changes **4 files changed** (+153 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `reference/middleware.test.ts` (+94 -0) ➕ `reference/middleware.ts` (+33 -0) 📝 `reference/package.json` (+8 -1) ➕ `reference/tsconfig.json` (+18 -0) </details> ### 📄 Description URLs should be case insensitive unless there is a good reason otherwise. Currently, I don't see any situations where we rely on it (or should be). I'm not married to this; if adding middleware introduces unnecessary excess overhead, we can close this unmerged. This is currently only scoped to the reference docs; unclear whether supported in our Mintlify deployment. --- <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-17 17:21:42 -05:00
yindo closed this issue 2026-02-17 17:21:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#1091