[PR #275] [CLOSED] Implements URI encoding for file names #842

Closed
opened 2026-02-26 19:30:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/275
Author: @yashug
Created: 8/18/2023
Status: Closed

Base: mainHead: feat/filename-encoding-decoding


📝 Commits (1)

  • 0395fff Implements URI encoding for file names

📊 Changes

3 files changed (+36 additions, -0 deletions)

View changed files

📝 packages/prisma/index.ts (+5 -0)
packages/prisma/middleware/index.ts (+1 -0)
packages/prisma/middleware/sanitizeDocumentTitle.ts (+30 -0)

📄 Description

Fixes https://github.com/documenso/documenso/issues/78

This commit adds encoding/decoding logic to ensure that file names are properly encoded before insertion into the database via prisma middleware


🔄 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/documenso/documenso/pull/275 **Author:** [@yashug](https://github.com/yashug) **Created:** 8/18/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/filename-encoding-decoding` --- ### 📝 Commits (1) - [`0395fff`](https://github.com/documenso/documenso/commit/0395fff6212cfc3f2b68b856b0da2fd2a35e728b) Implements URI encoding for file names ### 📊 Changes **3 files changed** (+36 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/prisma/index.ts` (+5 -0) ➕ `packages/prisma/middleware/index.ts` (+1 -0) ➕ `packages/prisma/middleware/sanitizeDocumentTitle.ts` (+30 -0) </details> ### 📄 Description Fixes https://github.com/documenso/documenso/issues/78 This commit adds encoding/decoding logic to ensure that file names are properly encoded before insertion into the database via prisma middleware --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:30:43 +03:00
Sign in to join this conversation.
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
starred/documenso#842
No description provided.