mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-15 07:35:49 -06:00
[GH-ISSUE #772] Using : in default-command for subscribe leads to error #558
Labels
No labels
ai-generated
android-app
android-app
android-app
build
build
dependencies
docs
enhancement
enhancement
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
server
server
unified-push
web-app
website
🔒 security
🔥 HOT
🪲 bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ntfy#558
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?
Originally created by @newhinton on GitHub (Jun 11, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/772
🐞 Describe the bug
When using the
:-char with the ntfy-cli tool in commands leads to errors:yaml: line 9: mapping values are not allowed in this contextExample:
default-command: notify-send -i /x/ntfy.svg --app-name "ntfy: $topic" "$t" "$m"💻 Components impacted
ntfy-cli, linux amd64
💡 Screenshots and/or logs
See above.
🔮 Additional context
@binwiederhier commented on GitHub (Jun 11, 2023):
I think you're just using invalid yml. Single quotes around it, or some other way to escape the value property. I'm sure Google or ChatGPT will help there.