You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(webapp,core,cli): handle task ids that contain a slash
Task ids that contain a slash (for example `types/zod`, or an id that
starts with a slash) now work across more of the product:
- Switching environments keeps you on the current page instead of
dropping you back to the list.
- The test page for a webhook task whose id contains a slash opens
correctly.
- Triggering a task whose id cannot be represented in a URL (for example
one containing an unpaired surrogate) now fails with a clear error
naming the task id, instead of a cryptic URI error.
The HTTP API reference also notes that a task id must be percent-encoded
in the request path when it contains reserved characters such as a
slash.
Mono-RevId: e5209c0dabe872f3527221a5ac42112f2d05fc25
Triggering a task whose id cannot be represented in a URL (for example an id containing an unpaired surrogate) now fails with a clear error naming the task id, instead of a cryptic URI error.
Switching environments now keeps you on the current page when a task's id contains a slash, instead of dropping you back to the list. The test page for a webhook task whose id contains a slash also opens correctly now.
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.test.tasks.$taskParam/route.tsx
0 commit comments