forked from meteor/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
119 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.8.1.2 | ||
0.8.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// While galaxy apps are on their own special meteor releases, override | ||
// Meteor.release here. | ||
if (Meteor.isClient) { | ||
Meteor.release = Meteor.release ? "0.8.1.2" : undefined; | ||
Meteor.release = Meteor.release ? "0.8.1.3" : undefined; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.8.1.2 | ||
0.8.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.8.1.2 | ||
0.8.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.8.1.2 | ||
0.8.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.8.1.2 | ||
0.8.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.8.1.2 | ||
0.8.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
var url = Npm.require("url"); | ||
|
||
Tinytest.add("spiderable - phantom url generation", function (test, expect) { | ||
var absUrl = "http://example.com"; | ||
_.each([ | ||
{ | ||
requestUrl: "/?_escaped_fragment_=1", | ||
expected: "/" | ||
}, | ||
// Test that query strings are preserved | ||
{ | ||
requestUrl: "/?_escaped_fragment_=1&foo=bar", | ||
expected: "/?foo=bar" | ||
}, | ||
{ | ||
requestUrl: "/?foo=bar&_escaped_fragment_=1", | ||
expected: "/?foo=bar" | ||
}, | ||
// Test that paths are preserved | ||
{ | ||
requestUrl: "/foo/bar?_escaped_fragment_=1", | ||
expected: "/foo/bar" | ||
}, | ||
{ | ||
requestUrl: "/foo/bar?_escaped_fragment_=1&foo=bar", | ||
expected: "/foo/bar?foo=bar" | ||
}, | ||
// Test with a path on the site's absolute url | ||
{ | ||
requestUrl: "/foo/bar?_escaped_fragment_=1", | ||
expected: "/foo/bar", | ||
absUrl: "http://example.com/foo" | ||
}, | ||
{ | ||
requestUrl: "/bar?_escaped_fragment_=1", | ||
expected: "/bar", | ||
absUrl: "http://example.com/foo" | ||
} | ||
], function (testCase) { | ||
testCase.absUrl = testCase.absUrl || absUrl; | ||
|
||
test.equal( | ||
Spiderable._urlForPhantom(absUrl, testCase.requestUrl), | ||
absUrl + testCase.expected | ||
); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
=> Meteor 0.8.1.2: Fix regressions from 0.8.1, including a memory | ||
leak in DDP heartbeats. | ||
=> Meteor 0.8.1.3: Fixes a security flaw in the `spiderable` package and | ||
minor regressions from 0.8.1. | ||
|
||
This release is being downloaded in the background. Update your | ||
project to Meteor 0.8.1.2 by running 'meteor update'. | ||
project to Meteor 0.8.1.3 by running 'meteor update'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,6 +135,9 @@ | |
{ | ||
"release": "0.8.1.2" | ||
}, | ||
{ | ||
"release": "0.8.1.3" | ||
}, | ||
{ | ||
"release": "NEXT" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters