Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 531940

Summary: Inconsistent use of xml vs. xmlOutput in HTTP request argument
Product: [Retired] Dogtag Certificate System Reporter: John Dennis <jdennis>
Component: Certificate ManagerAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED EOL QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: dpal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:02:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 431022, 533979    
Attachments:
Description Flags
patch none

Description John Dennis 2009-10-29 22:15:42 UTC
All the scriplets accept a HTTP request argument indicating if XML output is desired instead of HTML. However the argument usage is inconsistent. In all cases except /ca/ee/ca/profileSubmit the argument is "xml" but for /ca/ee/ca/profileSubmit the argument is "xmlOutput".

All scriplets should use the same flag for the same functionality.

pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java

should be modified to also accept "xml", this would allow consistent argument usage across all scriplets but preserve backwards compatibility.

Comment 1 John Dennis 2009-11-12 15:01:18 UTC
Created attachment 369228 [details]
patch

Comment 2 Andrew Wnuk 2009-11-17 23:11:36 UTC
attachment (id=369228) +awnuk

Comment 3 Andrew Wnuk 2009-11-25 23:42:10 UTC
Patch included in in bug #533979 and attachment #373874 [details] is committed.