[rs-commit] r322 - /rs-interop/trunk/src/site/resources/csr/certenroll.js

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Mar 1 13:33:02 CET 2020


Author: minfrin at redwax.eu
Date: Sun Mar  1 13:33:02 2020
New Revision: 322

Log:
Pass through the correct target URL.

Modified:
    rs-interop/trunk/src/site/resources/csr/certenroll.js

Modified: rs-interop/trunk/src/site/resources/csr/certenroll.js
==============================================================================
--- rs-interop/trunk/src/site/resources/csr/certenroll.js	(original)
+++ rs-interop/trunk/src/site/resources/csr/certenroll.js	Sun Mar  1 13:33:02 2020
@@ -85,7 +85,7 @@
             }
         };
 
-        xhr.open('POST', window.location.pathname, true);
+        xhr.open('POST', document.getElementById('createform').action, true);
         xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
         xhr.setRequestHeader('Accept', 'application/pkcs7-mime');
         xhr.responseType = 'text';



More information about the rs-commit mailing list