VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Gruz on February 17, 2012, 19:49:19 PM

Title: Many redirects use & instead of normal &
Post by: Gruz on February 17, 2012, 19:49:19 PM
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.
Title: Re: Many redirects use & instead of normal &
Post by: iftikhardirv on March 29, 2012, 08:55:32 AM
thankyou u solve my problem