Skip to content

Ensure error documents bypass client redirects. - #64

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
order-error-redirection-middleware
Aug 12, 2026
Merged

Ensure error documents bypass client redirects.#64
samuel-williams-shopify merged 1 commit into
mainfrom
order-error-redirection-middleware

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

Document that Utopia::Redirection::Errors must be configured after client-visible redirect middleware so internal error-document requests bypass those redirects.

Update the redirection test stack and generated application commentary to follow that ordering, with a regression test covering an error document whose path would otherwise redirect.

Verification

  • bundle exec sus test/utopia/redirection.rb
  • bundle exec rubocop lib/utopia/redirection/errors.rb test/utopia/redirection.rb setup/site/config/application.rb
  • bundle exec bake decode:index:coverage lib

Assisted-By: devx/cbdeae41-9308-4071-ad53-58cd92db2946
@samuel-williams-shopify
samuel-williams-shopify merged commit 7a48a82 into main Aug 12, 2026
22 of 40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the order-error-redirection-middleware branch August 12, 2026 02:51
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.

1 participant