mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Remove Url#parse as a source
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
edges
|
||||
nodes
|
||||
| APKInstallation.java:14:31:14:58 | fromFile(...) | semmle.label | fromFile(...) |
|
||||
| APKInstallation.java:21:31:21:44 | parse(...) | semmle.label | parse(...) |
|
||||
| APKInstallation.java:29:24:29:38 | parse(...) | semmle.label | parse(...) |
|
||||
| APKInstallation.java:36:24:36:51 | fromFile(...) | semmle.label | fromFile(...) |
|
||||
| APKInstallation.java:43:31:43:48 | fromFile(...) | semmle.label | fromFile(...) |
|
||||
| APKInstallation.java:50:24:50:41 | fromFile(...) | semmle.label | fromFile(...) |
|
||||
| APKInstallation.java:57:24:57:41 | fromFile(...) | semmle.label | fromFile(...) |
|
||||
| APKInstallation.java:70:24:70:41 | fromFile(...) | semmle.label | fromFile(...) |
|
||||
subpaths
|
||||
#select
|
||||
| APKInstallation.java:14:31:14:58 | fromFile(...) | APKInstallation.java:14:31:14:58 | fromFile(...) | APKInstallation.java:14:31:14:58 | fromFile(...) | Arbitrary Android APK installation. |
|
||||
| APKInstallation.java:21:31:21:44 | parse(...) | APKInstallation.java:21:31:21:44 | parse(...) | APKInstallation.java:21:31:21:44 | parse(...) | Arbitrary Android APK installation. |
|
||||
| APKInstallation.java:29:24:29:38 | parse(...) | APKInstallation.java:29:24:29:38 | parse(...) | APKInstallation.java:29:24:29:38 | parse(...) | Arbitrary Android APK installation. |
|
||||
| APKInstallation.java:36:24:36:51 | fromFile(...) | APKInstallation.java:36:24:36:51 | fromFile(...) | APKInstallation.java:36:24:36:51 | fromFile(...) | Arbitrary Android APK installation. |
|
||||
| APKInstallation.java:43:31:43:48 | fromFile(...) | APKInstallation.java:43:31:43:48 | fromFile(...) | APKInstallation.java:43:31:43:48 | fromFile(...) | Arbitrary Android APK installation. |
|
||||
| APKInstallation.java:50:24:50:41 | fromFile(...) | APKInstallation.java:50:24:50:41 | fromFile(...) | APKInstallation.java:50:24:50:41 | fromFile(...) | Arbitrary Android APK installation. |
|
||||
| APKInstallation.java:57:24:57:41 | fromFile(...) | APKInstallation.java:57:24:57:41 | fromFile(...) | APKInstallation.java:57:24:57:41 | fromFile(...) | Arbitrary Android APK installation. |
|
||||
| APKInstallation.java:70:24:70:41 | fromFile(...) | APKInstallation.java:70:24:70:41 | fromFile(...) | APKInstallation.java:70:24:70:41 | fromFile(...) | Arbitrary Android APK installation. |
|
||||
@@ -57,4 +57,19 @@ public class APKInstallation extends Activity {
|
||||
intent.setData(Uri.fromFile(file));
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
public void openWebsite() {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
intent.setData(Uri.parse("http://www.example.com"));
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
public void otherIntent(File file) {
|
||||
Intent intent = new Intent(this, OtherActivity.class);
|
||||
intent.setAction(Intent.ACTION_VIEW);
|
||||
intent.setData(Uri.fromFile(file));
|
||||
}
|
||||
}
|
||||
|
||||
class OtherActivity extends Activity {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user