mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Add RequestForgerySanitizer
This commit is contained in:
@@ -147,6 +147,6 @@ public class UnsafeAndroidAccess extends Activity {
|
||||
|
||||
String thisUrl = getIntent().getStringExtra("url");
|
||||
// This should be considered safe - the query lacks a proper sanitizer for partial URLs.
|
||||
wv.loadUrl("https://www.mycorp.com/" + thisUrl); // $ SPURIOUS: hasUnsafeAndroidAccess
|
||||
wv.loadUrl("https://www.mycorp.com/" + thisUrl);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user