DBSEO Damages XF-Style URLs with Extra =
See the following thread for examples and a discussion of the issue:
https://www.vaultwiki.org/threads/6202/
Basically, due to a bug in DBSEO, XenForo-style URLs like ?xf-route/ get converted to ?xf-route/= whenever they are posted and whenever the pattern appears in content. This means that the original post content is damaged unintentionally.
Since DBSEO is no longer maintained by its developers and does not accept new bug reports, users experiencing this issue can correct it as follows.
In
dbtech/dbseo/includes/url.php, find:
Code:
$key = $_subParameter;
AFTER it, add:
Find:
Code:
$parseString .= ($parseString ? $ampersand : '') . $_stringParameters[$i][0] . '=' . $_stringParameters[$i][1];
Replace with:
Code:
$parseString .= ($parseString ? $ampersand : '') . $_stringParameters[$i][0];
if ($_stringParameters[$i][1] !== false)
{
$parseString .= '=' . $_stringParameters[$i][1];
}
After making this correction, existing posts that were affected are not fixed, because they were already damaged by the bug. Affected posts will need to be edited so that they contain the correct URL. New posts made after the fix should also now be safe from the bug.