Skip to content

Parse and validate URL template at manifest parse time #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 27, 2018

Conversation

mgiuca
Copy link
Collaborator

@mgiuca mgiuca commented Feb 13, 2018

Previously, the URL template would be stored as an opaque string until target launch time, at which point any syntax errors in the template would result in a failed launch.

Now, the URL template is parsed at manifest parse time, and stored as a URL object. Any syntax errors (URL syntax or template syntax) result in the target being ignored in any share picker.

Resolves #25.


Preview | Diff

@mgiuca mgiuca force-pushed the parse-at-parse-time branch 2 times, most recently from 7de4872 to 3d3fc8b Compare February 23, 2018 03:51
@mgiuca mgiuca force-pushed the parse-at-parse-time branch from 3d3fc8b to dd67553 Compare February 23, 2018 03:56
@mgiuca mgiuca requested a review from ewilligers February 23, 2018 04:38
@mgiuca
Copy link
Collaborator Author

mgiuca commented Feb 23, 2018

@ewilligers PTAL. This is the main change I want to make to this spec before sending back to TAG review.

@ewilligers
Copy link
Collaborator

Add resolves #25 to the CL description.

@mgiuca mgiuca merged commit 7fd4e74 into w3c:master Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants