Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Validate that the start_url member in the manifest is a full URL #9

Closed
f2bo opened this issue May 21, 2015 · 1 comment
Closed

Validate that the start_url member in the manifest is a full URL #9

f2bo opened this issue May 21, 2015 · 1 comment
Assignees
Milestone

Comments

@f2bo
Copy link
Contributor

f2bo commented May 21, 2015

Even though a relative URL is a valid start_url according to the W3C spec, ManifoldCordova requires a full URL (because the plugin cannot determine the manifest's origin once it has been downloaded).

The plugin should validate this member and issue a suitable error message if it finds a relative URL. There should be also an initial check that the start_url member actually exists in the manifest, and if not show an appropriate error message.

@ghost ghost added this to the release-0.1.2 milestone Jun 2, 2015
@f2bo f2bo self-assigned this Jun 15, 2015
@f2bo
Copy link
Contributor Author

f2bo commented Jun 15, 2015

Added the necessary validation - see #21.

@f2bo f2bo closed this as completed Jun 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant