QA nits from PR #5: escape mock data values, encode role param #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Repo
forgejo_admin/minio-playgroundWhat Broke
QA re-review of PR #5 identified 3 non-blocking nits. All involve values from hardcoded mock data or internal state that aren't sanitized — low risk now (mock data is controlled) but must be fixed before SvelteKit promotion with real data.
bucket.namefrom hardcoded mock data inrenderBucketList()— would break if a bucket name contained<or&roleparam in anhrefinrenderBottomNav()— role values are controlled strings now but should be encoded for correctnessobj.contentTypefrom mock data inrenderDetail()— MIME types don't contain HTML chars in practice but should be escaped for consistencyRepro Steps
&—renderBucketList()would produce malformed HTMLroleparam is not URL-encodedcontentTypecontaining<—renderDetail()would produce malformed HTMLExpected Behavior
encodeURIComponent()Environment
Lineage
plan-minio-mobile→ Phase 1 (QA nits from PR #5)File Targets
app.js— wrapbucket.nameinescapeHtml()inrenderBucketList(), encoderoleinrenderBottomNav(), wrapobj.contentTypeinescapeHtml()inrenderDetail()Acceptance Criteria
encodeURIComponent()Checklist
Related
phase-minio-mobile-1-playground-auth— source phase