Bug 63074

Summary: Balancer manager doesn't show xml output unless unneeded query parameters are provided
Product: Apache httpd-2 Reporter: Federico Mennite <federico.mennite>
Component: mod_proxy_balancerAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: minor CC: inu, markus.lind
Priority: P2 Keywords: PatchAvailable
Version: 2.4.37   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: nonce non requirement and nonce value output for xml
Adds nonce to xml output

Description Federico Mennite 2019-01-10 23:42:01 UTC
Created attachment 36373 [details]
nonce non requirement and nonce value output for xml

Xml output currently requires unneeded nonce and b query paramters in order to show.
Also, to be usefull to the REST interface usage, the xml output should also contain the nonce value

A patch against the 2.4 branche is here provided to fix both issues.

My former workaround was parsing the html output.
I'm now using this patch sucssefully in production.
Comment 1 Christophe JAILLET 2019-01-11 20:41:11 UTC
*** Bug 54136 has been marked as a duplicate of this bug. ***
Comment 2 Christophe JAILLET 2019-01-11 20:54:10 UTC
The need of useless parameters is likely to be fixed by r1847295.

Could you give it a try?
Comment 3 Christophe JAILLET 2019-01-11 21:11:56 UTC
*** Bug 49157 has been marked as a duplicate of this bug. ***
Comment 4 Federico Mennite 2019-01-13 22:42:28 UTC
The patch in r1847295 removes the extra parameters requirement but doesn't include the nonce information in the xml output.
This is needed in order to be able perform any programmatic post to change workers statuses.
Comment 5 Federico Mennite 2019-01-14 00:30:36 UTC
Created attachment 36375 [details]
Adds nonce to xml output

Here's the patch that only adds the nonce information.
Comment 6 Federico Mennite 2019-05-27 07:04:00 UTC
Hi Christophe,
I've tested patch https://svn.apache.org/viewvc?view=rev&rev=1847295 that you proposed and I confirm it is working fine.
Could it please be applied to the 2.4 branch along with the patch I've proposed https://bz.apache.org/bugzilla/attachment.cgi?id=36375 that adds the nonce value to the xml output?

Thanks,
Federico
Comment 7 Joe Orton 2021-03-05 08:35:49 UTC
Thanks for the patches, Federico - merged in r1887192.