You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
Summary
Remindbot removes all quotes regardless whether they are escaped or not
Steps to reproduce
Steps to reproduce the behavior:
/remind me "sudo su -c "R -e \"update.packages(ask = FALSE)\"" " in 1 minute
/remind me "sudo su -c \"R -e \\"update.packages(ask = FALSE)\\"\" " in 1 minute
/remind me "sudo su -c \\\"R -e \\\\"update.packages(ask = FALSE)\\\\"\\\" " in 1 minute
/remind
sudo su -c "R -e \"update.packages(ask = FALSE)\""
Expected behavior
A reminder message is sent reminding user to execute the following command
sudo su -c "R -e \"update.packages(ask = FALSE)\""
Observed behavior (that appears unintentional)
A reminder message is sent reminding user to execute the following commands, depending on the reminder set
sudo su -c R -e \update.packages(ask = FALSE)\
sudo su -c \R -e \\update.packages(ask = FALSE)\\
sudo su -c \\R -e \\\update.packages(ask = FALSE)\\\\
However, when using the interactive dialog, everything works as expected:
Server configuration
Operating system: Alpine 3.10
Mattermost version: 5.31.0
Remind version: 0.4.5
Question
Am I missing something when escaping my quotes?
The text was updated successfully, but these errors were encountered: