You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "wvengen (JIRA)" <ji...@apache.org> on 2018/07/03 06:03:00 UTC

[jira] [Created] (CB-14188) Allow http and https for AllowedSchemes

wvengen created CB-14188:
----------------------------

             Summary: Allow http and https for AllowedSchemes
                 Key: CB-14188
                 URL: https://issues.apache.org/jira/browse/CB-14188
             Project: Apache Cordova
          Issue Type: Improvement
          Components: cordova-plugin-inappbrowser
    Affects Versions: 3.0.0
            Reporter: wvengen


CB-14013 introduced AllowedSchemes, but excluded the use of http and https. It would be useful to allow intercepting http and https links, e.g. to decide whether to open the link in the system web browser or not.

I'd be happy to submit a PR (my approach would be to generate a regexp based on AllowedSchemes and match the URL on that, instead of the current if logic).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org