? Failure

User tests: Successful: Unsuccessful:

avatar JoomliC
JoomliC
29 Nov 2014

I've found a B/C issue in 3.4.0-alpha related to a change done in /libraries/joomla/application/web.php, line 549 #4292

If a third-party extension uses the deprecated $app->redirect($url, $msg), as $msg ($status) is not numeric, it will return an error 0 You have not supplied a valid HTTP 1.1 status code

avatar JoomliC JoomliC - open - 29 Nov 2014
avatar jissues-bot jissues-bot - change - 29 Nov 2014
Labels Added: ?
avatar rdeutz
rdeutz - comment - 29 Nov 2014

I think you are mixing things redirect($url, $msg) is for the controller, app->redirect doesn't has a msg.

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5247.

avatar JoomliC
JoomliC - comment - 29 Nov 2014

I think you are mixing things redirect($url, $msg) is for the controller, app->redirect doesn't has a msg.

Ok... i think i'm wrong... :-1:
In fact, i found this code working before 3.4.0-alpha with a third-party extension:
$app->redirect($url, $app->enqueueMessage($msg, $type));

But, it is a crap way of using redirect...
So, i will close this PR, as you are right, it's not an issue!

Thanks for your comment! ;-)

avatar JoomliC JoomliC - close - 29 Nov 2014
avatar JoomliC JoomliC - change - 29 Nov 2014
The description was changed
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-11-29 16:37:06

Add a Comment

Login with GitHub to post a comment