With files sent by the server via the file storage features, and not as part
of workunits, when the project asks the client to upload a file, the upload
URL is *added* to the list of URLs. So the file_info ends having the
upload_when_present flag, and two URLs:
Nicolás Alvarez wrote:
1) restoring the check for file_upload_handler in the URL
2) replacing rather than appending to the list of URLs
I'd lean towards 2).
I'd lean towards 2) as well. URLs are supposed to be opaque identifiers.
(eg. browsers that do anything differently if the URL ends