Anonymous | Login | Signup for a new account | 12-17-2024 10:59 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 | ||||
0005399 | [Resin] | minor | always | 03-18-13 13:16 | 05-21-13 11:09 | ||||
Reporter | alex | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.37 | Product Version | 4.0.35 | ||||
Product Build | |||||||||
Summary | 0005399: IPv6: request.getServerName() | ||||||||
Description |
rep by shiny caucho forums. <%=request.getServerName()%> and visited http://[::1] [^] The result on browser was: Resin ServerName: [: Where was the last '1'? By searching in the src of Resin, I found the following lines in AbstractHttpRequest.java .... int p1 = host.lastIndexOf('/'); if (p1 < 0) p1 = 0; int p = host.lastIndexOf(':'); if (p >= 0 && p1 < p) return host.substring(p1, p); else return host; .... |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |