remm 2003/03/13 02:04:21 Modified: coyote/src/java/org/apache/coyote/tomcat5 CoyoteConnector.java Log: - I thought about it more, and there's a benefit to the flag, and doing the check where it's done, although in theory it belongs to rule 6. Revision Changes Path 1.20 +17 -1 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteConnector.java Index: CoyoteConnector.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteConnector.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- CoyoteConnector.java 13 Mar 2003 09:50:35 -0000 1.19 +++ CoyoteConnector.java 13 Mar 2003 10:04:21 -0000 1.20 @@ -859,6 +859,22 @@ } /** + * Set the flag to see if we do a redirect to directories that don't end + * in a '/'. + */ + public void setRedirectDirectories(boolean rd) { + mapper.setRedirectDirectories(rd); + } + + /** + * Return the flag to see if we do a redirect to directories that don't + * end in a '/'. + */ + public boolean getRedirectDirectories() { + return mapper.getRedirectDirectories(); + } + + /** * Return the scheme that will be assigned to requests received * through this connector. Default value is "http". */
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]