| Summary: | ssh_config can escape double quotes with a backslash | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | unknowndevqwq |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | djm |
| Priority: | P5 | ||
| Version: | 9.0p1 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
unknowndevqwq
2022-09-23 00:39:22 AEST
readconf.c:match_cfg_line() probably needs to be converted from strdelim() to argv_split() for this to happen. (In reply to Damien Miller from comment #1) > readconf.c:match_cfg_line() probably needs to be converted from > strdelim() to argv_split() for this to happen. s/strdelim()/argv_split()/ Like this? No unfortunately - it's a bit more of a substantial rewrite than that. strdelim() is an incremental tokeniser whereas argv_split() turns a string into a vector of arguments in one go. https://github.com/openssh/openssh-portable/commit/ea9e45c89a is the commit where we started using it for config parsing if you want to have a go at this yourself. Sorry, I can't do it. |