Fixes #6557: Link URLs generated by `yii\widgets\Menu` are not encoded