Mantis Bugtracker
  

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

- Relationships

- Notes
(0006259)
ferg
05-21-13 11:09

server/1m14
 

- Issue History
Date Modified Username Field Change
03-18-13 13:17 alex New Issue
05-21-13 11:09 ferg Note Added: 0006259
05-21-13 11:09 ferg Assigned To  => ferg
05-21-13 11:09 ferg Status new => closed
05-21-13 11:09 ferg Resolution open => fixed
05-21-13 11:09 ferg Fixed in Version  => 4.0.37


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker