Skip to content

Commit 8afea7e

Browse files
authored
Sanitize Intent in BrowserActivity.onCreate(), same as in onNewIntent() (#1163)
1 parent 3f35b5c commit 8afea7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/duckduckgo/app/browser/BrowserActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class BrowserActivity : DuckDuckGoActivity(), CoroutineScope by MainScope() {
104104
@SuppressLint("MissingSuperCall")
105105
override fun onCreate(savedInstanceState: Bundle?) {
106106
super.daggerInject()
107+
intent?.sanitize()
107108
Timber.i("onCreate called. freshAppLaunch: ${dataClearer.isFreshAppLaunch}, savedInstanceState: $savedInstanceState")
108109
dataClearerForegroundAppRestartPixel.registerIntent(intent)
109110
renderer = BrowserStateRenderer()

0 commit comments

Comments
 (0)