-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use -connect-trusted from next Daemon release
The next version of Daemon will have the -connect-trusted option for connecting to a server. If that is available, use it (and begin to respect the custom command line).
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,8 +96,8 @@ QString getURLFromPositionalOptions(const QCommandLineParser& parser) | |
url.remove(passwordEnd, 1); | ||
} | ||
|
||
// When connect URL + custom command are supported together, we have to consider the pessimistic case | ||
// of a custom command line like bash -c "%command%" | ||
// If a custom command is used, we have to consider the pessimistic case | ||
// of a command line like bash -c "%command%" | ||
// so metacharacters from any common shells must be forbidden. | ||
// What we need to accept are domain names and IP addresses. | ||
// Also throw in '@' for limited support of the password feature (unv://[email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters