The file upload component has setMaxFileSizeUpload component | Vaadin components and it would be great to apply the same restriction to files uploaded via RTA
The brute force solution would be to restrict upload size on the servlet container or in e.g. proxy configuration; that will fail in an ugly way, though (the user will get a message like “Server Connection lost”). You could open a feature ticket for a component API enhancement. Note that you will probably want the servlet container and/or proxy limits set in place regardless.
2 Likes
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.