Fix XSS, inline styles, dialog a11y, and minor cleanup #3
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 review of PR #2 found 8 issues:
innerHTMLwithout HTML escapingonclickhandler on download button (inconsistent withaddEventListenerpattern)styleattributes indetail.htmlandbrowse.html(should be CSS classes)renderObjectBrowser()— both branches identicalassetsbucket regardless of current context## Relatedsection in PR bodyRepro Steps
browse.html?bucket=<script>alert(1)</script>— XSS via innerHTMLdetail.html— inspect download button, find inlineonclickdetail.htmlorbrowse.html— inspect elements, find inlinestyleattributesExpected Behavior
addEventListenerstyleattributesEnvironment
Lineage
plan-pal-e-platform→ Phase 26 (QA nits from PR #2)File Targets
app.js— XSS fix, onclick removal, redundant ternary, upload navdetail.html,browse.html— move inline styles to CSS classesstyle.css— add CSS classes for moved stylesAcceptance Criteria
Checklist
Related
phase-pal-e-platform-26-minio-playground— source phase