City-of-Bloomington/open311-proxy

Media upload form needs to declare max filesize

Opened this issue · 0 comments

The open311 server has a max filesize that it accepts during a request. If the user tries to post send a report including a file that is too large, the request just times out.

Since the request never completes, there's no Apache error or server side code to handle it. The request just goes away.

I think there might be some html atttributes we can use on the to declare the max size. Hopefully browsers will honor this, and tell users when they browse and select a file from their computer that is too large to be handled.