mirror of
https://github.com/plankanban/planka.git
synced 2026-03-01 11:21:46 +03:00
[PR #962] [MERGED] fix: quote variables to prevent word splitting #1157
Reference in New Issue
Block a user
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/plankanban/planka/pull/962
Author: @florczakraf
Created: 11/26/2024
Status: ✅ Merged
Merged: 11/27/2024
Merged by: @meltyshev
Base:
master← Head:quote-docker-backup-scripts📝 Commits (1)
9f355dbfix: quote variables to prevent word splitting📊 Changes
2 files changed (+18 additions, -18 deletions)
View changed files
📝
docker-backup.sh(+11 -11)📝
docker-restore.sh(+7 -7)📄 Description
docker-backup.shanddocker-restore.shdidn't quote variables, which prevented them from running in certain environments. This PR adds consistent quotation for all variables in those scripts.Ref.: https://www.shellcheck.net/wiki/SC2046 https://www.shellcheck.net/wiki/SC2086
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.