I am using a overide in template for my login module in joomla. I changed return value in the login form to a new redirection URL , which has query parameters along. This was working fine till I updated my site to https.(force https is also enabled from config) now the URL redirected is not having query parameers in it.
Following is what all I did:
<?php $cnt="pagey"; $return_url = "https://example.com/index.php/new-page?var=".$cnt; ?> <input id="return" type="hidden" name="return" value="<?php echo base64_encode($return_url); ?>" />
This should ideally redirect to the decoded value of URL along with params.
Expected: redirect after login to :
I tried base64_encode and decode of the url online, it is coming correct. But on browser only URL is seen without query parameters.
Can someone suggest on this