commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ibrahim Hasbini (JIRA)" <>
Subject [jira] [Commented] (VFS-199) Http/Https listChildren browse support
Date Thu, 17 Jan 2013 17:28:13 GMT


Ibrahim Hasbini commented on VFS-199:

I'm trying to test the attached patch.

I'm wondering what is the intention behind this part of the patch?
           int indexOfSlash = relativeUrl.indexOf('/');
           if (indexOfSlash > 0) {
               // forbid adding subfolders
               relativeUrl = relativeUrl.substring(0, indexOfSlash);

> Http/Https listChildren browse support
> --------------------------------------
>                 Key: VFS-199
>                 URL:
>             Project: Commons VFS
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Andrew Franklin
>         Attachments: HttpGetList.txt, VFS-199.patch
> I think this was lodged at some time ago as VFS-79:
> Essentially the ability to browse http via the directory listing structure is reasonably
important for a number of use cases. 
> Mario noted in that previous bug that the parsing of the html isn't necessarily trivial
but I've submitted a patch that meets my requirements. The patch uses java regular expressions
which has the requirement of JVM > 1.4. Submitting in the hope that other users will find
it useful and maybe we'll be able to tidy it to the point where it can be integrated into
the vfs mainline.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message