Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8659] MobileWeb: Ti.Filesystem base64 encodes application/x-javascript files

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-04-19T10:26:48.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-08
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2012-04-10T14:54:40.000+0000
Updated2017-03-04T00:01:59.000+0000

Description

When using Ti.Filesystem to read in a javascript file, it will base64 encode the file into the blob because the mime type starts with "application". The "application/x-javascript" mime type will need to be whitelisted to be treated as plain text.

Attachments

FileDateSize
app.js2012-04-18T13:07:48.000+0000317
hi.js2012-04-18T13:07:48.000+000012

Comments

  1. Chris Barber 2012-04-18

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/2031
  2. Lee Morris 2017-03-04

    Closing ticket as MobileWeb is no longer supported.

JSON Source