apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

one question about CDVAllowList #1292

Closed Tang0401 closed 1 year ago

Tang0401 commented 1 year ago

Bug Report

Problem

What is expected to happen?

What does actually happen?

NSRegularExpression parts = [NSRegularExpression regularExpressionWithPattern:@"^((\|[A-Za-z-]+):/?/?)?(((\\.)?[^/:]+)|\)?(:(\d+))?(/.)?" options:0 error:nil]; Some schemes cannot be adding into allowlist, for example, com.12306, openapp.jdmobile. Is thie regularExpression for scheme ((\*|[A-Za-z-]+)) universial?

Information

Command or Code

Environment, Platform, Device

Version information

Checklist

jcesarmobile commented 1 year ago

closing as duplicate of https://github.com/apache/cordova-ios/issues/1291