Anonymous | Login | Signup for a new account | 12-17-2024 08:22 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product Version | 4.0.35 | ||||||
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; .... |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |