blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

Packaging should fail if the <access> uri attribute is an empty string (<access uri="" />) #172

Open ishneur opened 12 years ago

ishneur commented 12 years ago

Try to package the attached app, it has the following element in config.xml: <access uri="" subdomains="true"></access>

Expected: In Snarf and Tumbler, packaging fails with the following error message: [ERROR] Invalid URI attribute in the element - protocol required

Actual: Packaging is successful

Attachment: https://github.com/downloads/blackberry-webworks/BB10-WebWorks-Framework/GHI183.zip

kwallis commented 12 years ago

What happens at runtime with this app? Does everything get access, or is this just ignored? Something in between? This will affect how serious this is.

ishneur commented 12 years ago

Nothing gets access in this case. Any URL I'm trying to access gets blocked.