{"comment":{"created_at":"2011-10-19T19:36:09Z","body":"The `URLIsAllowed() ` method still tries to parse the url and kicks out the request because `[url host]` returns `nil`. I am suggesting that  `URLIsAllowed() ` returns true without any further processing if \"*\" was found during the initial scan of the white-list (in `processWhitelist() `)\r\n\r\nI'm aware this is a bit hack-ish, and it's ok by me if you prefer to leave it as is (I'll just use my own hacked copy of PhoneGap). But given PayPal's unresponsiveness ...  this may be an a big pain for quite a few folks with a PayPal/PhoneGap implementation that will upgrade to upgrade to PhoneGap 1.1+ at some point ","updated_at":"2011-10-19T19:36:09Z","url":"https://api.github.com/repos/phonegap/phonegap-iphone/issues/comments/2460194","id":2460194,"user":{"avatar_url":"https://secure.gravatar.com/avatar/9a78fefe48bf8878dd50f524f2b5e5e3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9a78fefe48bf8878dd50f524f2b5e5e3","url":"https://api.github.com/users/tifroz","id":150367,"login":"tifroz"}},"action":"created","issue":{"number":315,"created_at":"2011-10-11T19:44:17Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"My Paypal MPL plugin for iOS worked fine with PhoneGap 0.9.6, but I can't get it to work  with PhoneGap 1.1; **it fails with a whitelist rejection no matter what I have listed under PhoneGap.plist's ExternalHosts**.\r\n\r\nWith \"*.paypal.com\", and \"mobileclient.sandbox.paypal.com\" both whitelisted, I still get this error:\r\n```ERROR whitelist rejection: url='https:/mobileclient.sandbox.paypal.com/GMAdapter/DeviceInterrogation'```\r\n\r\n...notice the single forward-slash prefix in the logs, it's `https:/mobileclient...`, instead of the expected `https://mobileclient...` and there is a fat chance that this single slash is throwing off the witelist's url parser - although I can't tell if the PayPal library or PhoneGap doing something funky.\r\n\r\nThe problem should be reproducible by initializing PayPal from a plugin - the very first call to PayPal triggers the error:\r\n```[PayPal initializeWithAppID:PAYPAL_APP_ID forEnvironment:PAYPAL_APP_ENV];```\r\n\r\nAs a side-note, I tested with both Paypal MPL 1.1 and 1.1.5","comments":9,"title":"White-list problem - via PayPal MPL library (PhoneGap 1.1)","updated_at":"2011-10-19T19:36:09Z","url":"https://api.github.com/repos/phonegap/phonegap-iphone/issues/315","id":1880171,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/9a78fefe48bf8878dd50f524f2b5e5e3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9a78fefe48bf8878dd50f524f2b5e5e3","url":"https://api.github.com/users/tifroz","id":150367,"login":"tifroz"},"html_url":"https://github.com/phonegap/phonegap-iphone/issues/315","labels":[],"state":"open"},"legacy":{"issue_id":1880171,"comment_id":2460194}}