Skip to content

issues Search Results · language:Edge language:Python language:PHP linked:pr language:JavaScript language:JavaScript

Filter by

4.8M results  (318 ms)

4.8M results

api/registrations/[id].js only strips userId and id from the patch body. Any arbitrary field on the registration record (role, price, status) can be overwritten. Fix: Add an explicit allowlist of mutable ...

src/mocks/handlers.js lines 40-43 contain hardcoded email/password test@eventra.com / password123 with a mock JWT. If MSW is accidentally enabled in production, these credentials allow auth bypass. Fix: ...

src/Pages/ApiDocs.js line 90 ships a hardcoded Bearer token evt_dev_test_token in the production bundle. If the backend accepts this token it becomes a valid credential shipped to every visitor. Fix: Remove ...

src/context/ThemeContext.js line 170 creates a style element via innerHTML and appends it to the document head. The production CSP in vercel.json does not allow unsafe-inline for style-src-elem, so the ...

Dockerfile line 12 uses COPY . . in a single layer. Any change to any source file invalidates the entire build cache, forcing npm run build to re-run. Splitting into granular COPY layers (package.json ...

ci.yml runs npm ci independently in each of 4 jobs (lint, typecheck, test, build). Adding actions/cache for node_modules keyed on package-lock.json hash would let subsequent jobs skip installation entirely, ...

src/utils/conflictDetection.js line 220 chains .filter(Boolean).filter() creating two separate array passes when one would suffice. Merge into a single .filter(event = event ...) pass.

src/utils/feedbackUtils.js lines 182-185 uses .map() then two .filter() calls to count recommendation true/false values. A single reduce() would accomplish this in one pass, reducing iteration overhead ...

src/components/common/VirtualizedEventGrid.jsx defines Cell inline inside the render function. react-window identifies children by reference, so every re-render creates a new component type and unmounts/remounts ...

src/utils/recommendationEngine.js lines 304-318 chain .filter().map().filter().sort().slice() creating 5 full-array iterations. For large event catalogs this is 5x the necessary work. Fix: Consolidate ...
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! Restrict your search to the title by using the in:title qualifier.