mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-24 20:25:50 +03:00
[PR #316] [MERGED] Fix script slug matching to prevent false positives #353
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#353
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/316
Author: @michelroegl-brunner
Created: 11/13/2025
Status: ✅ Merged
Merged: 11/13/2025
Merged by: @michelroegl-brunner
Base:
main← Head:fix/310📝 Commits (1)
a45f9aeFix script slug matching to prevent false positives📊 Changes
2 files changed (+22 additions, -10 deletions)
View changed files
📝
src/app/_components/DownloadedScriptsTab.tsx(+11 -5)📝
src/app/_components/ScriptsGrid.tsx(+11 -5)📄 Description
Problem
Downloaded scripts were incorrectly matched using normalized name matching, causing scripts with similar slugs (like 'docker-vm') to appear when loading a different script (like 'docker').
Root Cause
The matching logic used normalized slug/name matching as a fallback, which could cause false matches. For example, when only
ct/docker.shwas downloaded, the system would incorrectly showdocker-vmas downloaded.Solution
Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.