can you confirm that the current snapshots fix the ArrayIndexOutOfBoundsException you got before? If so, I agree that we should push out a release soon to get this work correctly on Wildfly.
However, I think that file uploads still won’t work even with the current snapshots. I know that this is a huge problem, but if my assumptions about the cause of this incompatibility are correct (see my post above), then there is no way to fix this in the Rewrite code. Rewrite is based on a servlet filter and if the Servlet spec doesn’t allow to access parameters of multipart requests from filters, there is nothing we can do about that if the container doesn’t provide some kind of workaround (like Tomcat does it).
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.