Bug 36896 - jsp import error: url /abc/./../def not abc/def
Summary: jsp import error: url /abc/./../def not abc/def
Status: RESOLVED LATER
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Request Taglib (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 15:17 UTC by Remco van Veenendaal
Modified: 2009-11-29 19:41 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remco van Veenendaal 2005-10-03 15:17:28 UTC
When importing into a jsp page I encountered the following problem (somewhat
generalised).

The filename in the parameter in

<c:import url="/dosomething?filename=/abc/./../def/filename.xml"
charEncoding="UTF-8" />

was received (request.getParameter("file")) as 

/abc/def/filename.xml

Using param solves this problem, but I wonder what happens if you do

<c:import url="/abc/./../def/dosomething" charEncoding="UTF=8"/>
Comment 1 Henri Yandell 2009-11-29 19:41:15 UTC
Resolving. Taglib has been retired.