Skip to content

Commit 4a37c01

Browse files
committed
JavaScript: Remove references to LGTM
1 parent ca1c463 commit 4a37c01

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
window.parent.postMessage(userName, 'https://lgtm.com');
1+
window.parent.postMessage(userName, 'https://github.com');
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Component } from 'react';
22
import { WebView } from 'react-native';
33

4-
class LgtmView extends Component {
4+
class CodeQLView extends Component {
55
render() {
6-
return <WebView source={{uri: 'https://lgtm.com'}}/>;
6+
return <WebView source={{uri: 'https://github.com'}}/>;
77
}
88
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
window.parent.postMessage(userName, 'https://lgtm.com');
1+
window.parent.postMessage(userName, 'https://github.com');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function h() {
22
var href = window.location.href;
33
// OK
4-
window.location = "https://lgtm.com?" + href.substring(href.indexOf('?')+1);
4+
window.location = "https://github.com?" + href.substring(href.indexOf('?')+1);
55
}

javascript/ql/test/query-tests/Security/CWE-601/ClientSideUrlRedirect/tst8.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function k() {
22
var search = window.location.search.substr(1);
33
// OK
4-
window.location = "https://lgtm.com" + questionMark() + search;
4+
window.location = "https://github.com" + questionMark() + search;
55
}
66

77
function questionMark() {

0 commit comments

Comments
 (0)