You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/08/06 12:39:17 UTC

DO NOT REPLY [Bug 45578] New: Balancer Manager not correctly working in IE 7 and Opera

https://issues.apache.org/bugzilla/show_bug.cgi?id=45578

           Summary: Balancer Manager not correctly working in IE 7 and Opera
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_balancer
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: markus.lind@yellowmap.de


Disabling/managing balancer members via balancer-manager web site is not
working in IE and Opera. Works in Firefox 2.0016

Most likely because of

            ap_rvputs(r, "value=\"", bsel->name + sizeof("balancer://") - 1,
                      "\">\n</form>\n", NULL);
            ap_rvputs(r, "<input type=hidden name=\"nonce\" value=\"",
                      balancer_nonce, "\">\n", NULL);

in mod_proxy_balancer.c 
Seems like IE ignores the nonce because it is outside the form

A quick test with moving the </form> after the input field of balancer_nonce
re-enabled the functionality for all browsers


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45578] Balancer Manager not correctly working in IE 7 and Opera

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45578


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-08-06 03:58:36 PST ---
So the following patch would fix the issue?

Index: modules/proxy/mod_proxy_balancer.c
===================================================================
--- modules/proxy/mod_proxy_balancer.c  (Revision 682871)
+++ modules/proxy/mod_proxy_balancer.c  (Arbeitskopie)
@@ -897,9 +897,10 @@
             ap_rvputs(r, "value=\"", ap_escape_uri(r->pool, wsel->name),
"\">\n", NULL);
             ap_rvputs(r, "<input type=hidden name=\"b\" ", NULL);
             ap_rvputs(r, "value=\"", bsel->name + sizeof("balancer://") - 1,
-                      "\">\n</form>\n", NULL);
+                      "\">\n", NULL);
             ap_rvputs(r, "<input type=hidden name=\"nonce\" value=\"",
                       balancer_nonce, "\">\n", NULL);
+            ap_rvputs(r, "</form>\n", NULL);
             ap_rputs("<hr />\n", r);
         }
         ap_rputs(ap_psignature("",r), r);


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45578] Balancer Manager not correctly working in IE 7 and Opera

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45578





--- Comment #3 from Ruediger Pluem <rp...@apache.org>  2008-08-06 12:05:02 PST ---
Committed to trunk as r683373
(http://svn.apache.org/viewvc?rev=683373&view=rev).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45578] Balancer Manager not correctly working in IE 7 and Opera

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45578


Markus Lind <ma...@yellowmap.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #2 from Markus Lind <ma...@yellowmap.de>  2008-08-06 06:35:53 PST ---
yes, works for me with this change


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45578] Balancer Manager not correctly working in IE 7 and Opera

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45578


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Ruediger Pluem <rp...@apache.org>  2008-08-08 14:33:09 PST ---
Backported to 2.2.x as r683686
(http://svn.apache.org/viewvc?rev=683686&view=rev)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45578] Balancer Manager not correctly working in IE 7 and Opera

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45578





--- Comment #4 from Ruediger Pluem <rp...@apache.org>  2008-08-06 12:11:27 PST ---
Proposed for backport as r683379
(http://svn.apache.org/viewvc?rev=683379&view=rev).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org