Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14061

cordova-plugin-inappbrowser should allow more custom URL schemes

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      The current Android regexp (^[a-z]://.?$) (https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/android/InAppBrowser.java#L1115) does not allow schemes like d2d or develop+d2d.

      According to RFC 3986 (quoting) "Scheme names consist of a sequence of characters beginning with a letter and followed by any combination of letters, digits, plus ("+"), period ("."), or hyphen ("-")" (https://tools.ietf.org/html/rfc3986#section-3.1)

       

      The regexp should be expanded to allow numbers, plus, periods and hyphens.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              timbru31 Tim Brust

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment