Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid commands behavior when pasting path #22484

Open
xgdgsc opened this issue Jun 28, 2021 · 2 comments
Open

Invalid commands behavior when pasting path #22484

xgdgsc opened this issue Jun 28, 2021 · 2 comments

Comments

@xgdgsc
Copy link
Contributor

xgdgsc commented Jun 28, 2021

Description:

I saw #3697.

Could it be changed as a setting? Or add a path detection if the command appears like a path string, then send directly. Now I always end up with copying and paste path (on linux or macOS) and input words. But the "No such commands" only contains the "path" part. The following words are lost, not in the notification message, which is annoying.

Steps to reproduce:

  1. paste some path like /home/user/.ssh/id and enter message for others afterwards like "you should use this path"

Expected behavior:

Add an auto detection of path string and send the message directly. Or at least include the whole message in the "No such command:" warning

Actual behavior:

the notification message is "No such command: /home/user/.ssh/id" the following message "you should use this path" is lost

Server Setup Information:

  • Version of Rocket.Chat Server: 3.7
  • Operating System: Ubuntu 16.04
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: 4.0

Client Setup Information

  • Desktop App or Browser Version: 3.0.5
  • Operating System: Ubuntu 20.04
@johncrisp
Copy link

In the bug template you will note

Please see our guide for opening issues: https://rocket.chat/docs/contributing/reporting-issues

That advises you to test on latest which is now 3.16 and to us the latest apps as well.

Your version is very out of date and needs upgrading urgently (see the release notes for why)

@xgdgsc
Copy link
Contributor Author

xgdgsc commented Jun 29, 2021

Thanks. Sorry I can' t upgrade it frequently since it is a enterprise deployment. I tested it in https://open.rocket.chat/ ( does it run latest?) and the issue is the same as I described.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants