mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
found a bug in the code where we were not decoding the params sent in eg. "a b" was being stored in the db as 'a%20b'. Fixing the same to have the right val persisted to the db
This commit is contained in:
parent
fa2b3e70a3
commit
92e3dc91c4
@ -248,7 +248,7 @@ public class ApiServlet extends HttpServlet {
|
||||
auditTrailSb.insert(0, "(userId="+UserContext.current().getUserId()+ " accountId="+UserContext.current().getAccountId()+ " sessionId="+(session != null ? session.getId() : null)+ ")" );
|
||||
|
||||
try {
|
||||
String response = _apiServer.handleRequest(params, false, responseType, auditTrailSb);
|
||||
String response = _apiServer.handleRequest(params, true, responseType, auditTrailSb);
|
||||
writeResponse(resp, response != null ? response : "", false, responseType);
|
||||
} catch (ServerApiException se) {
|
||||
auditTrailSb.append(" " +se.getErrorCode() + " " + se.getDescription());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user