Fix broken cookie

This commit is contained in:
Lennart kats 2015-06-30 10:38:15 +00:00
parent eabf2027c5
commit 959d6c275d

1
node_modules/c9/urls.js generated vendored
View File

@ -39,6 +39,7 @@ plugin.getBaseUrl = function(req, sourceBaseUrlPattern, targetBaseUrlPattern) {
var sourceHostMatcher = sourceBaseUrlPattern
.replace(/^https?:\/\//, "")
.replace(/\/.*/, "")
.replace(/\./, "\\.")
.replace("$DOMAIN", "([^/]+)");
var hostMatch = sourceHost.match(sourceHostMatcher);
var targetHost;