DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21168>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21168 Incorrect paths in generated SMAP file entries [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable ------- Additional Comments From [EMAIL PROTECTED] 2003-07-22 08:40 ------- The second line of the SMAP contains path information on Windows machines because SmapUtil.java's generateSmap() method calls unqualify() to remove the path information, and unqualify() only works on pathname strings with "/" as the name-separator character. I fixed this by rewriting unqualify(). The leading slash in the source path in the "*F" section originates deep within Tomcat (for instance, in a call to HttpServletRequest.getServletPath() when the request is first touched), so I chose to remove the leading slash just before writing the source path to the SMAP. I will attach a patch containing these fixes. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]