fluidinfo/fluidinfo.js — Issue #45: Allow colon in Fluidinfo instance name in urlRegex
Author: terrycojones
Created: 2011-10-22 21:10:44+00:00
State: open

The code throws if you pass options `{instance: 'http://localhost:9000'}` to the constructor. That's because colon is not in the allowed chars in `urlRegex`. It would probably be better to be more relaxed about what's allowed, e.g. `var urlRegex = /^(http|https):\/\/.+\/$/;`