You can pass any URL you like, friendly or unfriendly to the JS as a data-acurl attribute assigned on the input element.
I know that I can set any URL. I was interested in only the extent properly when the friendly URL for use AJAX links with index.php. It turns out that this is not a bug, but a feature. Well so be it. Although I do not seem right.