https://defect.opensolaris.org/bz/show_bug.cgi?id=17074

Knut Anders Hatlen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CAUSEKNOWN
                 CC|                            |[email protected]

--- Comment #1 from Knut Anders Hatlen <[email protected]> 2010-09-21 
10:04:51 UTC ---
The home link is generated by calling HttpServletRequest.getContextPath(),
which returns "" if the servlet is in the root directory. From the javadoc:

http://download.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getContextPath%28%29
The path starts with a "/" character but does not end with a "/" character. For
servlets in the default (root) context, this method returns "".

I suppose we could fix that by always adding a trailing "/" character to the
home link.

-- 
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to