tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43893] - WebDAV servlet returns incorrect values for the "href" property
Date Sun, 18 Nov 2007 08:08:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43893>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43893





------- Additional Comments From grnch@gmx.net  2007-11-18 00:08 -------
Created an attachment (id=21144)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21144&action=view)
simple patch that fixes the problem

It seems the call to request.getServletPath() is superfluous in this context,
as the "path" variable already contains the path of the resource relative to
the servlet context path (i.e. it includes getServletPath() already), so simply
omitting getServletPath() solves the issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message