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: [EMAIL PROTECTED]                                |
+ |  Reported By: [EMAIL PROTECTED]                                        |
+ |      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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to