Open
Description
$.pjax.submit is using wrong action url when the action attribute of the form tag is not entered.
opened /index.php
navigated /index2.php using pjax
tried to submit a form with no action attribute
form is submitted to /index.php
I recommend sending the form to window.location.pathname when action attribute is undefined.