Revert "Issue #1464244 by dawehner, tim.plunkett: Fixed Rewrite as URL adding equals sign to end of url." This reverts commit e6986e5a.