details: https://code.openbravo.com/erp/devel/pi/rev/d250f92b1db1
changeset: 13775:d250f92b1db1
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Wed Sep 14 18:38:01 2011 +0200
summary: Fixed issue 18505. Multipart forms will work again.
diffstat:
src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java | 2
+-
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java | 2
+-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 6b0ecd6155a9 -r d250f92b1db1
src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
--- a/src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
Tue Sep 13 16:56:43 2011 +0200
+++ b/src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
Wed Sep 14 18:38:01 2011 +0200
@@ -54,7 +54,7 @@
protected String doAuthenticate(HttpServletRequest request,
HttpServletResponse response)
throws AuthenticationException, ServletException, IOException {
- final VariablesSecureApp vars = new VariablesSecureApp(request);
+ final VariablesSecureApp vars = new VariablesSecureApp(request, false);
final String sUserId = (String)
request.getSession().getAttribute("#Authenticated_user");
final String strAjax = vars.getStringParameter("IsAjaxCall");
diff -r 6b0ecd6155a9 -r d250f92b1db1
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
--- a/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java Tue Sep
13 16:56:43 2011 +0200
+++ b/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java Wed Sep
14 18:38:01 2011 +0200
@@ -301,7 +301,7 @@
}
}
- final VariablesSecureApp vars = new VariablesSecureApp(request);
+ final VariablesSecureApp vars = new VariablesSecureApp(request,
false);
if (LoginUtils.fillSessionArguments(this, vars, strUserAuth,
strLanguage, strIsRTL,
strRole, strClient, strOrg, strWarehouse)) {
readProperties(vars,
globalParameters.getOpenbravoPropertiesPath());
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits