|
| Description: |
When saving a request is saved for future use later replay ({{{}SavedRequestManager{}}}) — e.g. on CSRF token expiry (resubmit confirmation) or login detour — only simple form fields the request parameters, method and headers are actually stored. Multipart file content is not saved, since files are treated differently so replaying an upload request silently loses the attached file(s) .
Another problem is that Additionally, the restored request ({{{}SavedRequestWrapper{}}}) has no multipart body, so {{FileUploadUtils.getFileItems()}} finds no file items, meaning the Upload action depends cannot work on a restored request at all.
Either the FileUploadPlugin, which isn't triggered unless the saved request is a subclass of MultipartRequestWrapper should also persist the uploaded parts , and or the user should at least be informed that doesn't happen for a restored request the file must be re-selected instead of failing silently . |
|