mirror of
https://github.com/status-im/metro.git
synced 2025-02-10 18:17:12 +00:00
Summary: Internally we use `multipart/form-data` to upload transformed files to the global cache, using the keys as file names. Unfortunately the server would read that and consider only the basename as the key, not the full path. So we wouldn't store the data under the right key. This is definitely a bug in the way upload is implemented: we should transmit the keys separately. But, this changeset offers a quick mitigation by avoiding slashes in the key, so that the whole key is a valid base file name. Reviewed By: davidaurelio Differential Revision: D5087780 fbshipit-source-id: 9e4a698c1f57c4c3b91b56b43eef82c1c7dd862b
metro-bundler
![npm version](https://badge.fury.io/js/metro-bundler.svg)
The JavaScript bundler for React Native
Description
Languages
JavaScript
100%