Many of the text areas used in our web UI, for example pages such as Create/Edit Snippets, Create/Edit Raw Kickstats, Create/Edit Config files, Channel Descriptions, Config Channel descriptions etc do not specify a Max Character limit when getting rendered causing issues like 2009-06-01 10:46:19,859 [TP-Processor7] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back java.lang.IllegalStateException: Post too large at org.apache.catalina.connector.Request.parseParameters(Request.java:2368) at org.apache.catalina.connector.Request.getParameter(Request.java:1005) at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:353) at com.redhat.rhn.frontend.servlets.EnvironmentFilter.addParameterizedMessages(EnvironmentFilter.java:112) at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:105) One way to tackle this is to figure out whats the max size we would like on a case by case basis and enforce it on the browser.. But that won;t entirely prevent one from doing a post request with overwhelming data...
Refer to https://bugzilla.redhat.com/show_bug.cgi?id=444221#c34 for more info...
In /etc/rhn/default/rhn_web.conf 'web.post_max' is defined and set to '512000'. Should this value be used for the textareas?
Mass-moving to space13.
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Aligning under space16.
(In reply to comment #2) > In /etc/rhn/default/rhn_web.conf 'web.post_max' is defined and set to '512000'. > Should this value be used for the textareas? I can only see this value to be used in the Perl stack, web/modules/pxt/PXT/ApacheHandler.pm. And I believe it's the size of the whole POST request, not of individual values in the POST request. I plan to close WONTFIX this bugzilla unless we have some easy patch.
Closing now.