Skip to content

Match quiet asset paths at prefix boundaries - #562

Closed
OskarEichler wants to merge 1 commit into
rails:masterfrom
OskarEichler:codex/match-quiet-asset-prefix-boundaries
Closed

OskarEichler wants to merge 1 commit into
rails:masterfrom
OskarEichler:codex/match-quiet-asset-prefix-boundaries

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

  • normalize configured prefixes with or without a leading/trailing slash
  • silence only the prefix itself and descendants at a path boundary
  • avoid treating sibling paths such as /assets-copy as asset requests

This preserves the slashless-prefix compatibility case missing from #552.

Verification

Cumulative unmodified suites pass 151 tests / 796 assertions in three Ruby/Rails/Sprockets configurations; focused route models cover prefixes, descendants and sibling boundaries. Syntax, package and backend integration checks pass. No test files were changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants