Bug report #743 has just been filed. You can view the report at the following URL: <http://znutar.cortexity.com/BugRatViewer/ShowReport/743> REPORT #743 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: serious Confidence: public Environment: Release: 3.2.1 JVM Release: 1.3 Operating System: Windows 2000 OS Release: Service Pack 1 Platform: Intel P2/350 Synopsis: request.getServerPort() reports wrong port with SSL (https) Description: I've written a simple servlet which prints out request.getServerPort(). It is running on a Tomcat 3.2.1 (win32) configured to http on port 80 and https on port 443. When I try to access the servlet under http://localhost/..., it prints out port 80. ERROR: When I try to access the servlet via https://localhost/..., it also prints out port 80! Why? Shouldn't it print out port 443? As a result, HttpUtils.getRequestURI contructs the wrong URI (https://localhost:80/...) when accessing via https.Title: BugRat Report # 743
BugRat Report # 743
Project: Tomcat | Release: 3.2.1 |
Category: Bug Report | SubCategory: New Bug Report |
Class: swbug | State: received |
Priority: high | Severity: serious |
Confidence:
public
|
Submitter:
Andreas Schildbach ( [EMAIL PROTECTED] )
Date Submitted:
Jan 11 2001, 09:45:07 CST
Responsible:
Z_Tomcat Alias ( [EMAIL PROTECTED] )
- Synopsis:
- request.getServerPort() reports wrong port with SSL (https)
- Environment: (jvm, os, osrel, platform)
- 1.3, Windows 2000, Service Pack 1, Intel P2/350
- Additional Environment Description:
- Report Description:
- I've written a simple servlet which prints out request.getServerPort(). It is running on a Tomcat 3.2.1 (win32) configured to http on port 80 and https on port 443. When I try to access the servlet under http://localhost/..., it prints out port 80. ERROR: When I try to access the servlet via https://localhost/..., it also prints out port 80! Why? Shouldn't it print out port 443? As a result, HttpUtils.getRequestURI contructs the wrong URI (https://localhost:80/...) when accessing via https.
- How To Reproduce:
- null
- Workaround:
- null
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]