[
https://issues.apache.org/jira/browse/VFS-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerome Lacoste updated VFS-185:
-------------------------------
Attachment: VFS-185.diff
Patch that fixes the issue. Test was done manually by using the test code that
comes in next attachment,
> sftp: URI with high case SFTP scheme are not accepted
> -----------------------------------------------------
>
> Key: VFS-185
> URL: https://issues.apache.org/jira/browse/VFS-185
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Jerome Lacoste
> Priority: Minor
> Fix For: 1.1
>
> Attachments: VFS-185.diff
>
>
> The sftp RFC only specifies low case sftp:// scheme, but I think commons vfs
> we should also consider high case sftp ones because of
> > http://www.ietf.org/rfc/rfc2396.txt
> >
> > 3.1. Scheme Component
> >
> > [...]
> >
> > Scheme names consist of a sequence of characters beginning with a
> > lower case letter and followed by any combination of lower case
> > letters, digits, plus ("+"), period ("."), or hyphen ("-"). For
> > resiliency, programs interpreting URI should treat upper case letters
> > as equivalent to lower case in scheme names (e.g., allow "HTTP" as
> > well as "http").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.