Fix broken cookie

pull/117/merge
Lennart kats 2015-06-30 10:38:15 +00:00
rodzic eabf2027c5
commit 959d6c275d
1 zmienionych plików z 1 dodań i 0 usunięć

1
node_modules/c9/urls.js wygenerowano vendored
Wyświetl plik

@ -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;