mapbox/tilelive.js — Issue #40: url.parse usage in tilelive.load is unpredicable on windows (remove?)
Author: springmeyer
Created: 2012-01-03 22:19:03+00:00
State: open

The fallback to `url.parse` at https://github.com/mapbox/tilelive.js/blob/master/lib/tilelive.js#L81 fails hard on windows. Possible to consider removing this and requiring both protocol and pathname to be defined in a uri object?

At least on windows not passing uri as an object, but rather as a string leads to invalid and unpredicatable pathname results: