-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: Revert bad string replacements #2513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains hidden or 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,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
2 changes: 1 addition & 1 deletion
2
packages/raven-node/test/exit/capture_with_second_domain_error.js
This file contains hidden or 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,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains hidden or 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,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains hidden or 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,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains hidden or 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,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
2 changes: 1 addition & 1 deletion
2
packages/raven-node/test/exit/domain_capture_with_second_error.js
This file contains hidden or 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,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains hidden or 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,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
Raven.config(dsn).install(function(err, sendErr) { | ||
assert.ok(err instanceof Error); | ||
|
This file contains hidden or 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,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var nock = require('nock'); | ||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains hidden or 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,7 +1,7 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
var assert = require('assert'); | ||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
Raven.config(dsn).install(function(err, sendErr) { | ||
assert.ok(err instanceof Error); | ||
|
This file contains hidden or 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,6 +1,6 @@ | ||
'use strict'; | ||
var Raven = require('../../'); | ||
Raven.config('https://public:private _@app.getsentry.com/12345').install(); | ||
Raven.config('https://public:[email protected]/12345').install(); | ||
|
||
// We create a bunch of contexts, capture some breadcrumb data in all of them, | ||
// then watch memory usage. It'll go up to ~40 megs then after 10 or 20 seconds | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ console.log = function () {}; | |
|
||
var Raven = require('../../'); | ||
|
||
var sentryDsn = 'https://public:private _@app.getsentry.com/269'; | ||
var sentryDsn = 'https://public:[email protected]/269'; | ||
Raven.config(sentryDsn, { | ||
autoBreadcrumbs: true | ||
}).install(); | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ var raven = require('../'), | |
zlib = require('zlib'), | ||
child_process = require('child_process'); | ||
|
||
var dsn = 'https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'https://public:[email protected]/269'; | ||
|
||
var _oldConsoleWarn = console.warn; | ||
|
||
|
@@ -53,7 +53,7 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'public', | ||
private __key: 'private _', | ||
private_key: 'private', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '269', | ||
|
@@ -70,7 +70,7 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'abc', | ||
private __key: '123', | ||
private_key: '123', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '1', | ||
|
@@ -86,7 +86,7 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'abc', | ||
private __key: '123', | ||
private_key: '123', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '1', | ||
|
@@ -208,7 +208,7 @@ describe('raven.Client', function() { | |
}); | ||
|
||
it('should allow for attaching stacktrace', function(done) { | ||
var dsn = 'https://public:private _@app.getsentry.com:8443/269'; | ||
var dsn = 'https://public:[email protected]:8443/269'; | ||
var client = new raven.Client(dsn, { | ||
stacktrace: true | ||
}); | ||
|
@@ -317,7 +317,7 @@ describe('raven.Client', function() { | |
.post('/api/269/store/', '*') | ||
.reply(200, 'OK'); | ||
|
||
var dsn = 'https://public:private _@app.getsentry.com:8443/269'; | ||
var dsn = 'https://public:[email protected]:8443/269'; | ||
var client = new raven.Client(dsn); | ||
client.on('logged', function() { | ||
scope.done(); | ||
|
@@ -364,7 +364,7 @@ describe('raven.Client', function() { | |
return 'OK'; | ||
}); | ||
|
||
var dsn = 'https://public:private _@app.getsentry.com:8443/269'; | ||
var dsn = 'https://public:[email protected]:8443/269'; | ||
var client = new raven.Client(dsn); | ||
client.on('logged', function() { | ||
scope.done(); | ||
|
@@ -998,13 +998,13 @@ describe('raven.Client', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: 'public', | ||
private __key: 'private _', | ||
private_key: 'private', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '269', | ||
port: 443 | ||
}; | ||
var dsn = 'heka+https://public:private _@app.getsentry.com/269'; | ||
var dsn = 'heka+https://public:[email protected]/269'; | ||
var client = new raven.Client(dsn, { | ||
transport: 'some_heka_instance' | ||
}); | ||
|
@@ -1013,7 +1013,7 @@ describe('raven.Client', function() { | |
}); | ||
|
||
it('should use a DSN subpath when sending requests', function(done) { | ||
var dsn = 'https://public:private _@app.getsentry.com/some/path/269'; | ||
var dsn = 'https://public:[email protected]/some/path/269'; | ||
var client = new raven.Client(dsn); | ||
|
||
var scope = nock('https://app.getsentry.com') | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -30,7 +30,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'app.getsentry.com', | ||
path: '/', | ||
project_id: '269', | ||
|
@@ -46,7 +46,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'http', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'mysentry.com', | ||
path: '/some/other/path/', | ||
project_id: '269', | ||
|
@@ -62,7 +62,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'mysentry.com', | ||
path: '/some/other/path/', | ||
project_id: '269', | ||
|
@@ -91,7 +91,7 @@ describe('raven.utils', function() { | |
var expected = { | ||
protocol: 'https', | ||
public_key: '8769c40cf49c4cc58b51fa45d8e2d166', | ||
private __key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
private_key: '296768aa91084e17b5ac02d3ad5bc7e7', | ||
host: 'mysentry.com', | ||
path: '/some/other/path/', | ||
project_id: '269', | ||
|
@@ -100,7 +100,7 @@ describe('raven.utils', function() { | |
dsn.should.eql(expected); | ||
}); | ||
|
||
it('should parse DSN without private _key', function() { | ||
it('should parse DSN without private key', function() { | ||
var dsn = raven.utils.parseDSN( | ||
'https://[email protected]:8443/some/other/path/269' | ||
); | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -21,7 +21,7 @@ interface SentryGlobal { | |
} | ||
|
||
/** | ||
* Requires a module which is protected _against bundler minification. | ||
* Requires a module which is protected against bundler minification. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is what got me started... I thought "why _against?!". The rest is Git history. |
||
* | ||
* @param request The module path to resolve | ||
*/ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this was broken for quite some time, is this key actually relevant? Isn't
"private": false
the default?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct