You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2001/06/27 19:24:16 UTC

[Bug 2362] New: - https and basic authentication do not work together

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