Skip to content

Commit 1014400

Browse files
committed
Fix test comments
1 parent 3ec2c13 commit 1014400

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/test/query-tests/security/CWE-749/UnsafeAndroidAccess.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ public boolean shouldOverrideUrlLoading(WebView view, String url) {
146146
});
147147

148148
String thisUrl = getIntent().getStringExtra("url");
149-
// This should be considered safe - the query lacks a proper sanitizer for partial URLs.
150-
wv.loadUrl("https://www.mycorp.com/" + thisUrl);
149+
wv.loadUrl("https://www.mycorp.com/" + thisUrl); // Safe
151150
}
152151
}

0 commit comments

Comments
 (0)