bugzilla-daemon at bugzilla.mindrot.org
2009-May-07 20:36 UTC
[Bug 1596] New: Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Summary: Option parser does not permit a double-quote character to occur in option values Product: Portable OpenSSH Version: 5.2p1 Platform: All OS/Version: All Status: NEW Keywords: low-hanging-fruit Severity: normal Priority: P2 Component: ssh AssignedTo: unassigned-bugs at mindrot.org ReportedBy: michael.j.fromberger at gmail.com There is no apparent way to give the ssh command line tool an option value, either on the command line or in the ssh_config file, which includes a double-quote (") character (ASCII 34). Neither doubling the quotation mark nor escaping it with a backslash seem to work. The manual pages do not describe any other escape syntax. Either an escape mechanism should be added, or (if one already exists) the documentation should be updated to describe it clearly. Background: On some systems (in my particular case, it's MacOS 10.5), it is possible for a user's login name to contain a double-quotation mark character. There does not seem to be any way to provide a username of this kind to the command line tool, either via the configuration file or using the command-line "-o User=xxx" syntax. If no escape mechanism exists for this case, I would recommend using doubling to denote internal quotes. This avoids the need to also quote a separate escape character, and should not disturb existing configuration files. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Oct-06 04:42 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Blocks| |1626 --- Comment #1 from Damien Miller <djm at mindrot.org> 2009-10-06 15:42:31 EST --- I think the correct approach for this would be to adapt sftp.c:makeargv() for use in servconf.c/readconf.c. These would need to abandon strdelim() and pass around an argc/argv and a current arg offset. This would have the added benefit of making argument parsing behave in a much more shell-like manner in the client and server configs. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Mar-08 01:37 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1626 | -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Mar-08 01:38 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1708 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Aug-03 05:41 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 --- Comment #2 from Damien Miller <djm at mindrot.org> --- We are freezing for the OpenSSH 5.6 release. Retargetting these bugs to the next release. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Aug-03 05:42 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1803 --- Comment #3 from Damien Miller <djm at mindrot.org> --- Targetting OpenSSH 5.7 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Aug-03 05:43 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1708 | -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:30 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1803 | --- Comment #4 from Damien Miller <djm at mindrot.org> 2011-01-24 12:30:51 EST --- Retarget unclosed bugs from 5.7=>5.8 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:31 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1845 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 00:34 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1930 --- Comment #5 from Damien Miller <djm at mindrot.org> 2011-09-06 10:34:20 EST --- Retarget unresolved bugs/features to 6.0 release -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 00:36 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 --- Comment #6 from Damien Miller <djm at mindrot.org> 2011-09-06 10:36:32 EST --- Retarget unresolved bugs/features to 6.0 release -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 00:39 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1845 | --- Comment #7 from Damien Miller <djm at mindrot.org> 2011-09-06 10:39:08 EST --- Retarget unresolved bugs/features to 6.0 release (try again - bugzilla's "change several" isn't) -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2012-Feb-23 23:34 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1986 --- Comment #8 from Damien Miller <djm at mindrot.org> 2012-02-24 10:34:29 EST --- Retarget from 6.0 to 6.1 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2012-Feb-23 23:38 UTC
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1930 | --- Comment #9 from Damien Miller <djm at mindrot.org> 2012-02-24 10:38:08 EST --- Retarget 6.0 => 6.1 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Reasonably Related Threads
- [Bug 1596] Option parser does not permit a double-quote character to occur in option values
- [Bug 1596] Option parser does not permit a double-quote character to occur in option values
- [Bug 1596] Option parser does not permit a double-quote character to occur in option values
- [Bug 1596] Option parser does not permit a double-quote character to occur in option values
- [Bug 1596] Option parser does not permit a double-quote character to occur in option values