[Pki-devel] [PATCH] TRAC Ticket #868 - REST API get certs links missing segment [20140307]

Matthew Harmsen mharmsen at redhat.com
Sat Mar 8 02:48:46 UTC 2014


Please review the following patch which addresses:

  * PKI TRAC Ticket #868 - REST API get certs links missing segment
    <https://fedorahosted.org/pki/ticket/868>

This patch has been tested on the DOGTAG_10_0_BRANCH as used on Fedora 19:

    Prior to the patch, the following URL:

      * https://fedora19.example.com:8443/ca/rest/certs

    produces an XML page which contains XML such as:

      * <Link href="*https://fedora19.example.com:8443/ca/rest/0x1*"
        rel="self"/>

    which produces an 'HTTP Status 404' page.


    After the patch has been applied, the same URL produces an XML page
    which contains XML such as:

      * <Link
        href="*https://fedora19.example.com:8443/ca/rest/certs/0x1*"
        rel="self"/>

    which corresponds to a valid URL.

NOTE:  This patch needs to be applied to the DOGTAG_10_0_BRANCH (Fedora 
19), the DOGTAG_10_1_BRANCH (Fedora 20), and the master (Fedora 21+).
        This patch may also need to be applied to the 
IPA_V3_RHEL_7_ERRATA_BRANCH.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140307/893db7dd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20140307-REST-API-get-certs-links-missing-segment.patch
Type: text/x-patch
Size: 1664 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140307/893db7dd/attachment.bin>


More information about the Pki-devel mailing list