* add encodeURIComponent so certain characters don't bug out (fixes #22099) * add integration test for pr #28122