Skip to content

fix: add rate limiting to static file serving in CSP demo server#32919

Merged
EugeniyKiyashko merged 1 commit intoDevExpress:26_1from
EugeniyKiyashko:26_1_rate
Mar 16, 2026
Merged

fix: add rate limiting to static file serving in CSP demo server#32919
EugeniyKiyashko merged 1 commit intoDevExpress:26_1from
EugeniyKiyashko:26_1_rate

Conversation

@EugeniyKiyashko
Copy link
Copy Markdown
Contributor

No description provided.

@EugeniyKiyashko EugeniyKiyashko self-assigned this Mar 16, 2026
Copilot AI review requested due to automatic review settings March 16, 2026 08:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds rate limiting coverage to the CSP demo server’s static file serving so that requests for static assets are subject to the same middleware protection already used on CSP endpoints and demo index routes.

Changes:

  • Applies rateLimiter middleware to the serveStatic(root, ...) handler so static file requests are rate limited too.

Comment thread apps/demos/utils/server/csp-server.js
@EugeniyKiyashko EugeniyKiyashko merged commit a71d478 into DevExpress:26_1 Mar 16, 2026
106 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants