Internal redirects to external sites fail #54

Open
opened 2025-04-19 21:17:39 +00:00 by danieljsummers · 0 comments

If an htmx request ends up redirecting to an external site, it cannot read the response (as the request follows the redirection before htmx gets it, but the response comes from a different domain). Add logic to the redirect mechanism to return an HX-Redirect header if the request came from htmx.

If an htmx request ends up redirecting to an external site, it cannot read the response (as the request follows the redirection before htmx gets it, but the response comes from a different domain). Add logic to the redirect mechanism to return an `HX-Redirect` header if the request came from htmx.
danieljsummers added the
area
infrastructure
bug
annoyance
labels 2025-04-19 21:18:05 +00:00
danieljsummers added
bug
moderate
and removed
bug
annoyance
labels 2025-04-19 21:23:13 +00:00
Sign in to join this conversation.
No description provided.