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=34109>. 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=34109 Summary: <c:url> doesn't merge slashes at the boundary of "context" and "value" Product: Taglibs Version: 1.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: Standard Taglib AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Suppose a JSP contains an element like this: <c:url context="/some/context/" value="/path/resource.do"/> the generated URL will contain two consecutive slashes, where they're not allowed: "...some/context//path/resource.do". Arguably such JSP is valid, as the context may end in '/', and the spec clearly mandates the leading slash of the value. The bug is non-trivial to work around (by omitting the first one of the two slashes from the JSP) in some cases, because with context="/" the trailing slash is mandatory, and the context may be introduced as a parameter so as to be both used in c:url in some places and directly concatenated with other path components in others. Part of this behavior has already been fixed as a result of bug report 22860. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
