[
https://issues.apache.org/jira/browse/SSHD-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16177794#comment-16177794
]
Goldstein Lyor commented on SSHD-774:
-------------------------------------
Good catch - personally though I prefer the simpler approach - without pattern
matching if possible:
{code:java|title=SshConfigFileReader line 189}
line = GenericUtils.trimToEmpty(line);
line = line.replace('\t', ' '); // one space
{code}
Please re-submit the patch with this change...
> SshConfigFileReader cannot parse tab delimiter in conifg file
> -------------------------------------------------------------
>
> Key: SSHD-774
> URL: https://issues.apache.org/jira/browse/SSHD-774
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.2.0, 1.6.0
> Environment: CentOS release 6.9 running sshd-core 1.2.0
> Reporter: Matthew Luckam
> Attachments: parser.log, sshd_config, tab_delimiter.patch
>
>
> When running SshConfigFileReader.readConfigFile(BufferedReader) if the
> delimiter in the configuration file being read is a tab, a
> StreamCorruptedException is thrown and the file is not parsed. The
> delimiters currently being checked for are the space character and the =
> symbol. The [parsed file|^sshd_config] and [log|^parser.log] are attached.
> This was also tested on 1.2.0 and 1.6.0.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)