Fixed it so that getLocation returns the location when given an url without path instead of just 'http://'.
Fixed it so that getLocation returns the location when given an url without path instead of just 'http://'.

aaron-goshine/easyXDM,jspath/easyXDM,oyvindkinsey/easyXDM,cake-disposal-squad/easyXDM,jmptrader/easyXDM,cake-disposal-squad/easyXDM,cake-disposal-squad/easyXDM,oyvindkinsey/easyXDM,aaron-goshine/easyXDM,lanson647/easyXDM,aaron-goshine/easyXDM,lanson647/easyXDM,jmptrader/easyXDM,oyvindkinsey/easyXDM,oyvindkinsey/easyXDM,lanson647/easyXDM,jspath/easyXDM,jspath/easyXDM,jmptrader/easyXDM,chazen/easyXDM,chazen/easyXDM,chazen/easyXDM,oyvindkinsey/easyXDM