cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9255) getUriType is case sensitive
Date Fri, 26 Jun 2015 17:23:05 GMT


ASF GitHub Bot commented on CB-9255:

Github user cjpearson commented on the pull request:
    The file transfer plugin uses this method to ensure that a url uses http or https. We
would get INVALID_URL_ERR whenever a user entered a url with a capital h in Http. We've worked
around this by lowercasing the scheme automatically, but this seems like something that could
cause issues again.

> getUriType is case sensitive
> ----------------------------
>                 Key: CB-9255
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.0.0
>            Reporter: Connor Pearson
> The getUriType method is case sensitive. This causes it to return URI_TYPE_UNKNOWN if
the URI contains a capital letter in its scheme. (e.g. Http and HTTP return URI_TYPE_UNKNOWN
instead of URI_TYPE_HTTP)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message