Skip to content

Commit 36425d1

Browse files
erin rosenthalAndroid (Google) Code Review
authored andcommitted
Merge "Catch badly formed URLs in WebView accessibility injector." into jb-mr1-dev
2 parents 3ac692f + ac6e50a commit 36425d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/java/android/webkit/AccessibilityInjector.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,8 @@ private int getAxsUrlParameterValue(String url) {
514514
}
515515
} catch (URISyntaxException e) {
516516
// Do nothing.
517+
} catch (IllegalArgumentException e) {
518+
// Catch badly-formed URLs.
517519
}
518520

519521
return ACCESSIBILITY_SCRIPT_INJECTION_UNDEFINED;

0 commit comments

Comments
 (0)