Bug 63074 - Balancer manager doesn't show xml output unless unneeded query parameters are provided
Summary: Balancer manager doesn't show xml output unless unneeded query parameters are...
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy_balancer (show other bugs)
Version: 2.4.37
Hardware: PC Linux
: P2 minor with 3 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
: 49157 54136 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-10 23:42 UTC by Federico Mennite
Modified: 2021-03-05 08:35 UTC (History)
2 users (show)



Attachments
nonce non requirement and nonce value output for xml (1.48 KB, patch)
2019-01-10 23:42 UTC, Federico Mennite
Details | Diff
Adds nonce to xml output (710 bytes, patch)
2019-01-14 00:30 UTC, Federico Mennite
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.