You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Maxime LUCE (JIRA)" <ji...@apache.org> on 2013/09/30 19:41:25 UTC

[jira] [Updated] (CB-4955) On Windows 8, FileTransfer methods never use given headers

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

Maxime LUCE updated CB-4955:
----------------------------

    Description: 
This issue is located in three points :

1. In method getBasicAuthHeader
    - Windows 8 HTMLAnchorElement which is used to parse input URI return host value followed with port (eg: myhost.com:80)
    - This behavior enforce app to find a Basic Auth which is always an empty string (seaching user@password)
    - This false Basic Auth Header replace the Authorization Header in options arguments

When I resolved this issue I found that :

2. Headers are ignored in FileTransfer Download proxy
3. Headers are ignored in FileTransfer Upload proxy

This issue is already resolved in a Pull Request on Github : https://github.com/apache/cordova-plugin-file-transfer/pull/5

  was:
This issue is located in three points :

1. In method getBasicAuthHeader
    - Windows 8 HTMLAnchorElement which is used to parse input URI return host value followed with port (myhost.com:80)
    - This behavior enforce app to find a Basic Auth which is always an empty string
    - This false Basic Auth Header replace the Authorization Header in options arguments

2. Headers are ignored in FileTransfer Download proxy
3. Headers are ignored in FileTransfer Upload proxy

This issue is already resolved in a Pull Request on Github : https://github.com/apache/cordova-plugin-file-transfer/pull/5


> On Windows 8, FileTransfer methods never use given headers
> ----------------------------------------------------------
>
>                 Key: CB-4955
>                 URL: https://issues.apache.org/jira/browse/CB-4955
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>         Environment: Windows 8
>            Reporter: Maxime LUCE
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> This issue is located in three points :
> 1. In method getBasicAuthHeader
>     - Windows 8 HTMLAnchorElement which is used to parse input URI return host value followed with port (eg: myhost.com:80)
>     - This behavior enforce app to find a Basic Auth which is always an empty string (seaching user@password)
>     - This false Basic Auth Header replace the Authorization Header in options arguments
> When I resolved this issue I found that :
> 2. Headers are ignored in FileTransfer Download proxy
> 3. Headers are ignored in FileTransfer Upload proxy
> This issue is already resolved in a Pull Request on Github : https://github.com/apache/cordova-plugin-file-transfer/pull/5



--
This message was sent by Atlassian JIRA
(v6.1#6144)