[undertow-dev] problem with root url redirects

Bill Burke bburke at redhat.com
Wed Mar 4 10:21:26 EST 2015


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


More information about the undertow-dev mailing list