]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/Gigi.java
Fixed / path
[gigi.git] / src / org / cacert / gigi / Gigi.java
index 3fa5d47a8313d86788f6c015830620d76cc33c0f..a96396db15b49760b970430a79758fbf5209742b 100644 (file)
@@ -115,7 +115,7 @@ public class Gigi extends HttpServlet {
 
        }
        private Page getPage(String pathInfo) {
-               if (pathInfo.endsWith("/")) {
+               if (pathInfo.endsWith("/") && !pathInfo.equals("/")) {
                        pathInfo = pathInfo.substring(0, pathInfo.length() - 1);
                }
                Page page = pages.get(pathInfo);