Change references schema to denote some parameters should not be encoded
Categories
(Taskcluster :: Services, enhancement)
Tracking
(Not tracked)
People
(Reporter: Eli, Assigned: dustin, Mentored)
References
Details
(Whiteboard: [lang=js])
Updated•7 years ago
|
Updated•7 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
So, tc-lib-api does actually (indirectly) handle this syntax -- we used it in worker-manager, for example, to allow workerPoolId to be given with a /
Assignee | ||
Comment 6•5 years ago
|
||
So, tc-lib-api does actually (indirectly) handle this syntax -- we used it in worker-manager, for example, to allow workerPoolId to be given with a /
https://github.com/taskcluster/taskcluster/blob/810230f0afdf5d0acbb8e34a4be681ab1edd84fa/services/worker-manager/src/api.js#L134
This is not handled by the client libraries, though. We could potentially fix that.
Assignee | ||
Comment 7•5 years ago
|
||
So the "potentially" here would be to generate paths like
/worker-pool-errors/proj-foo/bar
instead of
/worker-pool-errors/proj-foo%2Fbar
I don't think that's worthwhile, and it brings a risk of generating ambiguous routes. Clients should generate maximally unambiguous URLs.
Description
•