[PR #264] [MERGED] feat: add input validation for installed bucket path #410

Closed
opened 2026-02-16 01:15:53 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/264
Author: @Yeuoly
Created: 5/8/2025
Status: Merged
Merged: 5/9/2025
Merged by: @Yeuoly

Base: mainHead: chore/add-warning-messages-to-installed-bucket


📝 Commits (1)

  • a9ca59f feat: add input validation for installed bucket path

📊 Changes

1 file changed (+21 additions, -10 deletions)

View changed files

📝 internal/core/plugin_manager/media_transport/installed_bucket.go (+21 -10)

📄 Description

  • Implemented validation in NewInstalledBucket to log warnings for non-alphanumeric starting characters and empty paths for installedPath.
  • Updated parameter naming for consistency across methods in InstalledBucket, enhancing code clarity.

🔄 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/langgenius/dify-plugin-daemon/pull/264 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 5/8/2025 **Status:** ✅ Merged **Merged:** 5/9/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `chore/add-warning-messages-to-installed-bucket` --- ### 📝 Commits (1) - [`a9ca59f`](https://github.com/langgenius/dify-plugin-daemon/commit/a9ca59fcc82ec456a32f476d83d31ccef87ae316) feat: add input validation for installed bucket path ### 📊 Changes **1 file changed** (+21 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_manager/media_transport/installed_bucket.go` (+21 -10) </details> ### 📄 Description - Implemented validation in NewInstalledBucket to log warnings for non-alphanumeric starting characters and empty paths for installedPath. - Updated parameter naming for consistency across methods in InstalledBucket, enhancing code clarity. --- <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-16 01:15:53 -05:00
yindo closed this issue 2026-02-16 01:15:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#410