From: Anjo K. <an...@us...> - 2007-08-29 22:55:32
|
Update of /cvsroot/wonder/Wonder/Common/Frameworks/ERSelenium/Sources/er/selenium In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv13504/Sources/er/selenium Modified Files: SeleniumTestRunnerProxy.java Log Message: a bit of security Index: SeleniumTestRunnerProxy.java =================================================================== RCS file: /cvsroot/wonder/Wonder/Common/Frameworks/ERSelenium/Sources/er/selenium/SeleniumTestRunnerProxy.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SeleniumTestRunnerProxy.java 29 Aug 2007 22:27:30 -0000 1.3 --- SeleniumTestRunnerProxy.java 29 Aug 2007 22:55:29 -0000 1.4 *************** *** 59,62 **** --- 59,66 ---- // @Override public WOResponse handleRequest(WORequest request) { + if(!ERSelenium.testsEnabled()) { + return new WOResponse(); + } + NSArray pathElements = request.requestHandlerPathArray(); |