Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2156] Android: Invalid redirect alert on XHR file download

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:16.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, android_refactor, defect, regression, xhr
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:12:14.000+0000
Updated2011-04-17T01:58:16.000+0000

Description

1.5.0.70ce98 g2 running 2.2, G1 running 1.6, sim 2.2.

  1. Platform > XHR> File Download
  2. Tap Large file download

results:Invalid redirect URI: http://cloud2.appcelerator.net/win32_win32/5d315db3a8bfdfe3b182c68d3824e72d/847855b7-e7da-4db3-8d65-51e1e4aab7ea/Titanium"> http://cloud2.appcelerator.net/win32_win32/5d315db3a8bfdfe3b182c68d... Developer.msi

works on ios

Comments

  1. Marshall Culpepper 2011-04-15

    (from [2fa41c0ea6a442fbe6708590be130ed7f42e67b9]) fixed a redirect issue when some http servers don't correctly escape the redirect url. implemented buffering for httpclient (512k is the default, can be controlled w/ ti.android.httpclient.maxbuffersize property). added a new drillbit test suite for httpclient, fixed headers/formatting in a few files. [#1381 state:fixed-in-qa] [#2156 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/2fa41c0ea6a442fbe6708590be130ed7f42e67b9"> https://github.com/appcelerator/titanium_mobile/commit/2fa41c0ea6a4...

  2. Thomas Huelbert 2011-04-15

    1.5.0.3ee6a97 G2 (2.2) new bug about the current behavior, but this bits fixed.

  3. Bill Dawson 2011-04-15

    (from [8b0856b4be18d4451e1b5a12d84e9037e9107070]) [#2156] Timeout in drillbit http redirect (large file download) test changed to 60000 because it often exceeds 30 secs https://github.com/appcelerator/titanium_mobile/commit/8b0856b4be18d4451e1b5a12d84e9037e9107070"> https://github.com/appcelerator/titanium_mobile/commit/8b0856b4be18...

JSON Source