Fixes when browser doesn't send origin header, defaults to empty string instead of UNDEFINED (which would throw an error on the origin.match(/^https/) below
C
crickeys committed
1a5a87af131b2d8f9367629617a742e0eb63ceb9
Parent: a4e53a6