Fixed XF301VB: Fix for feed redirects

Steffen

Well-known member
Without this patch, feed URLs are redirected to the forum view.

Diff:
--- a/src/addons/XF301VB/Pub/Controller/Redirect.php
+++ b/src/addons/XF301VB/Pub/Controller/Redirect.php
@@ -155,7 +155,7 @@ class Redirect extends Controller
                     return $this->noPermission();
                 }
 
-                if ($content instanceof \XF\Entity\Node)
+                if ($content instanceof \XF\Entity\Node && $route === 'forums')
                 {
                     $route = $content->getRoute();
                 }
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF301VB release (1.1.4).

Change log:
Fix for feed redirects.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom