mapbox/tilemill — Issue #874: invalid url for ds can crash tilemill
Author: springmeyer
Created: 2011-11-04 13:54:44+00:00
State: open

Text like `file://foo` will bring down tilemill if placed in the `Datasource` input area.

```
/Users/dane/projects/tilemill/node_modules/millstone/node_modules/get/lib/node-get/node-get.js:184
response.pipe(file);
^
TypeError: Object Error: Invalid URL has no method 'pipe'
at Get. (/Users/dane/projects/tilemill/node_modules/millstone/node_modules/get/lib/node-get/node-get.js:184:18)
at Get. (/Users/dane/projects/tilemill/node_modules/millstone/node_modules/get/lib/node-get/node-get.js:137:22)
at Get. (native)
at Get.request (/Users/dane/projects/tilemill/node_modules/millstone/node_modules/get/lib/node-get/node-get.js:74:25)
at Get.perform (/Users/dane/projects/tilemill/node_modules/millstone/node_modules/get/lib/node-get/node-get.js:115:30)
at Get.toDisk (/Users/dane/projects/tilemill/node_modules/millstone/node_modules/get/lib/node-get/node-get.js:174:10)
at /Users/dane/projects/tilemill/node_modules/millstone/lib/millstone.js:46:28
at adjustCallback (/Users/dane/projects/tilemill/node_modules/millstone/node_modules/generic-pool/lib/generic-pool.js:184:7)
```