News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Many redirects use & instead of normal &

Started by Gruz, February 17, 2012, 19:49:19 PM

Previous topic - Next topic

Gruz

VM 2.0.1.L
J2.5.1

I registred a uses, passed to checkout process and tried to confirm the order. It redirected me to user info page to fill some info.

But the link in browser was: http://keypro.com.uaa/index.php?option=com_virtuemart&view=user&task=editaddresscheckout&addrtype=BT

As you can see: &

This doesn't seem to affect how everything works, but it's not correct.

This one is fixed by by changing components/com_virtuemart/helpers/cart.php line 778
$mainframe->redirect(JRoute::_('index.php?option=com_virtuemart&view=user&task=editaddresscheckout&addrtype=BT') );
to
$mainframe->redirect(JRoute::_('index.php?option=com_virtuemart&view=user&task=editaddresscheckout&addrtype=BT',false) );

But there are numeriouse redirects in controllers and I beleive they must all be fixed.



-----------

I mark as solved ,because developers plan to solve this issue in future with more important code changes. So this will be automatically fixed.
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

iftikhardirv