[undertow-dev] problem with root url redirects

Jason Greene jason.greene at redhat.com
Wed Mar 4 11:13:11 EST 2015


Hmm not sure why. A quick search shows we send a 302 as part of the form auth process, but I assume this isn’t form auth? 

Could it be servlet code calling sendRedirect()? That is required to send a 302.

> On Mar 4, 2015, at 9:21 AM, Bill Burke <bburke at redhat.com> wrote:
> 
> Looking at Wildfly 8.2.0,
> 
> 1. I'm sending a POST  to  /app
> 2. Wildfly redirects to /app/ via a 302
> 3. Browser does a GET /app/
> 
> Form data is lost.
> 
> Why does Wildfly do a redirect?  This has caused me a lot of problems 
> for our SAML adapter as users have to remember to put a trailing '/' in 
> their registration URLs.
> 
> If you insist on doing a redirect, why not send a 307 instead if it is a 
> non-GET request?
> 
> -- 
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev

--
Jason T. Greene
WildFly Lead / JBoss EAP Platform Architect
JBoss, a division of Red Hat




More information about the undertow-dev mailing list