jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2362] New: - https and basic authentication do not work together
Date Wed, 27 Jun 2001 17:24:16 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2362

*** shadow/2362	Wed Jun 27 10:24:16 2001
--- shadow/2362.tmp.6473	Wed Jun 27 10:24:16 2001
***************
*** 0 ****
--- 1,34 ----
+ +============================================================================+
+ | https and basic authentication do not work together                        |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2362                        Product: JMeter                  |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: jmeter-dev@jakarta.apache.org                                |
+ |  Reported By: ghamann@descartes.com                                        |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ If a ulr with https is entered, the basic authentication list is not accessed. 
+ This is in org.apache.jmeter.protocol.http.control.AuthManager.
+ 
+ In getAuthHeaderForURL the code reads:
+ 		if (!url.getProtocol().toUpperCase().equals("HTTP"))
+ 		{
+ 			return null;
+ 
+ 		}
+ 
+ My suggested bug fix is:
+ 		String crntProtocol = url.getProtocol().toUpperCase();
+ 		
+ 		if (!(crntProtocol.equals("HTTP") || crntProtocol.equals
+ ("HTTPS")))
+ 		{
+ 			return null;
+ 		}
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Mime
View raw message