Commit ca49dcf
feat: permit self-preview-builder-collections in deep links
Now that every collection id must parse as a GUID before it reaches a signed Builder API URL
(previous commit), the param is safe to accept from a deep link again. The deny-by-default
allowlist introduced in #9476 had been dropping it, which silently broke the documented
one-click creator flow in docs/unreleased-wearables-emotes-preview.md.
Placed on the always-permitted tier, not the whitelisted-realm one: the documented link carries
no realm (decentraland://?position=100,100&self-preview-builder-collections=<uuid>), so the
whitelisted-realm tier could never serve it. What bounds the exposure: ids are GUID-validated,
the Builder API only serves a collection to its owner or an authorized curator, and the preview
is local - equipping does not publish a profile change.
Verified: Unity 6000.4.0f1 batch EditMode - 0 compile errors, 63/63 tests (AppArgs incl. the new
pinning test, plus the provider GUID-rejection suites).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a974929 commit ca49dcf
2 files changed
Lines changed: 22 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
87 | 99 | | |
88 | 100 | | |
89 | 101 | | |
| |||
0 commit comments