d9a64ee Send only the path and not the full URI to httplib.request

Authored and Committed by rcritten 5 years ago
    Send only the path and not the full URI to httplib.request
    
    Sending the full uri was causing httplib to send requests as:
    
    POST http://ipa.example.com/ca/admin/ca/getStatus HTTP/1.1
    
    From what I can tell tomcat changed its URL handling due to a CVE
    (BZ 1552375). This has been wrong in freeipa since the CA status
    checking was added, d6fbbd5 , but tomcat handled it fine so we
    didn't notice.
    
    https://pagure.io/freeipa/issue/7883
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    
        
file modified
+1 -1