Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Bug 1447985 - limit format of supersederUrl #386

Merged
merged 1 commit into from Mar 23, 2018

Conversation

djmitche
Copy link
Contributor

No description provided.

@djmitche djmitche self-assigned this Mar 22, 2018
@djmitche djmitche requested a review from walac March 22, 2018 13:23
@@ -242,7 +242,8 @@
"supersederUrl": {
"title": "URL of the a service that can indicate tasks superseding this one; the current taskId will be appended as a query argument `taskId`. The service should return an object with a `supersedes` key containing a list of taskIds, including the supplied taskId. The tasks should be ordered such that each task supersedes all tasks appearing earlier in the list. See [superseding](https://docs.Taskcluster.net/reference/platform/taskcluster-queue/docs/superseding) for more detail.",
"type": "string",
"format": "uri"
"format": "uri",
"pattern": "^https?://[\\x20-\\x7e]$"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we missed a Kleene star here...

@djmitche
Copy link
Contributor Author

Fixed -- and I verified that this works (both for OK cases and bad unicode) with https://www.jsonschemavalidator.net/

@walac walac merged commit e7ddf96 into taskcluster:master Mar 23, 2018
@walac walac removed the review label Mar 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants