Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1848 | major | always | 07-04-07 02:20 | 07-30-07 14:05 | |
|
|||||
Reporter: | Yaroslav Sokolov | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|||||
Summary: | 0001848: in specific cases request.getRequestURL() returns not correct URL | ||||
Description: |
In case when 'index.jsp' is configured as <welcome-file> and there is request to a directory containing index.jsp, request.getRequestURL() returns URL for index.jsp instead of URL of the requested directory. Examlpe: the server is listening port 80 on localhost, web.xml contains: <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> in web root there is a file 'index.jsp' with the next content: <%= request.getRequestURL() %> request: http://localhost/ [^] the index.jsp generates the next response: http://localhost/index.jsp [^] I hope the right result should be 'http://localhost/'. [^] |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|