Can you take a look at this PR? Can you test it?
https://github.com/apache/struts/pull/892
śr., 6 mar 2024 o 07:51 Lukasz Lenart napisał(a):
>
> pon., 4 mar 2024 o 00:28 Zoran Avtarovski
> napisał(a):
> > I tried to raise a ticket to include some logging in the isMultipartRequest
> > function
pon., 4 mar 2024 o 00:28 Zoran Avtarovski napisał(a):
> I tried to raise a ticket to include some logging in the isMultipartRequest
> function to record why it failed but I don't have an account anymore.
I've created the ticket
https://issues.apache.org/jira/browse/WW-5401
Cheers
Lukasz
-
Thanks Lukasz,
I'm not sure that is the issue. I did a simple verification test and added some
debugging around the request content type I got the following :
Request Content Type: multipart/form-data;
boundary=---22500187869113554433768726201
Using default regex string c
The request must match the following regex [1], more details in the
docs [2], yet I notice there is no logging around this logic, feel
free to create a ticket to improve that.
[1]
https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java#L110
[2
Hi Burton,
The issue is with a simple HTTP request the file object is null, see the red
log entry below. But if I use a simple jQuery ajax call, it works as expected
and I’m not sure why and how to rectify.
This was the simple code I used to upload the file, same set of interceptors,
sam
I'm not exactly sure what isn't working for you, but have you tried
using the newer FilesUploadAware interface? More information can be
found at https://struts.apache.org/core-developers/file-upload.html
I might also recommend you set value="true"/> to see if anything comes up in the logs.
Th
6 matches
Mail list logo