Make sure a non-empty return URL is always provided when downloading a zipfile, or the javascript idiom implementing the redirect would return to the page itself and restart the archiving from scratch
Improve zip file download solution: instead of a link to be clicked, stay closer to previous implementation and trigger the download automatically by including an invisible iframe pointing to the file in the user message