| Anonymous | Login | Signup for a new account | 11-10-2025 01:09 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001848 | [Resin] | major | always | 07-04-07 02:20 | 07-30-07 14:05 | ||||
| Reporter | Yaroslav Sokolov | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.1.3 | Product Version | 3.1.1 | ||||
| Product Build | |||||||||
| 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 | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |