We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33aff11 + f57ede9 commit 26cf6e4Copy full SHA for 26cf6e4
src/android/InAppBrowser.java
@@ -1112,7 +1112,7 @@ else if (url.startsWith("sms:")) {
1112
}
1113
1114
// Test for whitelisted custom scheme names like mycoolapp:// or twitteroauthresponse:// (Twitter Oauth Response)
1115
- else if (!url.startsWith("http:") && !url.startsWith("https:") && url.matches("^[a-z]*://.*?$")) {
+ else if (!url.startsWith("http:") && !url.startsWith("https:") && url.matches("^[A-Za-z0-9+.-]*://.*?$")) {
1116
if (allowedSchemes == null) {
1117
String allowed = preferences.getString("AllowedSchemes", null);
1118
if(allowed != null) {
0 commit comments