commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (NET-215) UNIXFTPEntryParser doesn't preserve trailing whitespace in files
Date Fri, 15 Aug 2008 19:19:44 GMT

     [ https://issues.apache.org/jira/browse/NET-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated NET-215:
---------------------

    Fix Version/s:     (was: 2.0)

> UNIXFTPEntryParser doesn't preserve trailing whitespace in files
> ----------------------------------------------------------------
>
>                 Key: NET-215
>                 URL: https://issues.apache.org/jira/browse/NET-215
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Martin Oberhuber
>            Priority: Minor
>
> From https://bugs.eclipse.org/bugs/show_bug.cgi?id=204740 :
> The Commons Net FTP Entry Parsers do not preserve trailing whitespace on file names.
On systems like UNIX that support trailing whitespace, this results in some invalid entries
being parsed.
> The bug seems to be in Jakarta Commons Net UnixFTPEntryParser -- in its REGEX,
> the last field ("endtoken") is declared
>     (\\s*.*)
> which means any whitespace followed by at least one non-whitespace character.
> Which is not the case in case of trailing whitespace.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message