cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Resolved] (CB-1755) iOS: Allow customization of whitelist rejection message
Date Wed, 07 Nov 2012 16:35:11 GMT


Andrew Grieve resolved CB-1755.

       Resolution: Fixed
    Fix Version/s: 2.3.0
         Assignee: Andrew Grieve  (was: Shazron Abdullah)

> iOS: Allow customization of whitelist rejection message
> -------------------------------------------------------
>                 Key: CB-1755
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 2.2.0
>            Reporter: Kevin Hawkins
>            Assignee: Andrew Grieve
>              Labels: ios, whitelist
>             Fix For: 2.3.0
>   Original Estimate: 4h
>  Remaining Estimate: 4h
> [CDVWhitelist errorStringForURL:] currently returns the hard-coded error string, "ERROR
whitelist rejection: url='[failed URL]'", used when a host fails its whitelist check.  It
would be nice if the format string for this message could be user-defined/customized.  A couple
of suggested solutions:
> - Access a customized message internally in errorStringForURL, by having a well-defined
localization key to reference it, and defaulting to the original value if it hasn't been set.
> - Add a public property on CDVWhitelist to specify it, same "default" behavior as above.
> The latter is probably the most flexible.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message