On 05/03/2012 01:29 PM, Sergiu Dumitriu wrote:
On 05/03/2012 12:08 PM, Paul Libbrecht wrote:

Hello developers,

I seem to see a regression whereby a POST to an /xwiki/bin/upload/
request no more uses the xredirect parameter and simply redirects to
the page.

Is this a known change?
Is it supposed to have been working being undocumented and can try to
find a fix?
Or should I simply try to adjust the client (tremble tremble).

thanks in advance

If it indeed doesn't work, then it's an involuntary regression. I'll
check the code.


Well, the code still tries to look at that parameter:

String redirect = fileupload.getFileItemAsString("xredirect", context);

So it might be a problem at the request parsing stage, introduced by an upgrade of a dependency. Still, IIRC the attachment selector macro makes heavy use of the redirect, and it does work correctly.

On which version did you notice this? Could you double-check if it indeed is broken?

--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to