Skip to content

Commit

Permalink
restore url-prefix regex to v2.6.0 functionality
Browse files Browse the repository at this point in the history
this was changed in commit d8a3edf
  • Loading branch information
davidgovea committed Jul 24, 2018
1 parent e09dcc2 commit bc9b239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/cl/kunder/webview/WebViewActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void onCreate(Bundle savedInstanceState) {
showLoading();
}

loadUrl((url.matches("^(.://|javascript:)[\\s\\S]$") ? "" : "file:///android_asset/www/" + (isPluginCryptFileActive() ? "+++/" : "")) + url);
loadUrl((url.matches("^(.*://|javascript:)[\\s\\S]*$") ? "" : "file:///android_asset/www/" + (isPluginCryptFileActive() ? "+++/" : "")) + url);
}

public static boolean showLoading() {
Expand Down

0 comments on commit bc9b239

Please sign in to comment.