[Winstone-devel] winstone/src/java/winstone WinstoneRequest.java, 1.39, 1.40
Status: Beta
Brought to you by:
rickknowles
From: Rick K. <ric...@us...> - 2008-10-01 14:46:29
|
Update of /cvsroot/winstone/winstone/src/java/winstone In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3162/src/java/winstone Modified Files: WinstoneRequest.java Log Message: Realized the bug mentioned earlier this week about PUT and DELETE was only fixed for POST. Removed the method check entirely now. If a query string is supplied, it gets parsed on any method Index: WinstoneRequest.java =================================================================== RCS file: /cvsroot/winstone/winstone/src/java/winstone/WinstoneRequest.java,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** WinstoneRequest.java 5 Sep 2008 02:39:47 -0000 1.39 --- WinstoneRequest.java 1 Oct 2008 14:46:13 -0000 1.40 *************** *** 532,538 **** try { // Parse query string from request ! if ((method.equals(METHOD_GET) || method.equals(METHOD_HEAD) || ! method.equals(METHOD_POST)) ! && (this.queryString != null)) { extractParameters(this.queryString, this.encoding, workingParameters, false); Logger.log(Logger.FULL_DEBUG, Launcher.RESOURCES, --- 532,538 ---- try { // Parse query string from request ! // if ((method.equals(METHOD_GET) || method.equals(METHOD_HEAD) || ! // method.equals(METHOD_POST)) && ! if (this.queryString != null) { extractParameters(this.queryString, this.encoding, workingParameters, false); Logger.log(Logger.FULL_DEBUG, Launcher.RESOURCES, |