Internal redirects to external sites fail #54

Closed
opened 2025-04-19 21:17:39 +00:00 by danieljsummers · 1 comment

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
danieljsummers added this to the v3 milestone 2025-07-04 15:14:54 +00:00
danieljsummers self-assigned this 2025-07-05 22:33:06 +00:00
Author
Owner

This is complete

This is complete
Sign in to join this conversation.
No description provided.