#88428Deprecate top.rawurlencode and friends
Description
Back in 2009, JavaScript code was introduced that mimics PHP’s rawurlencode() and str_replace().
The only difference between rawurlencode() and encodeURIComponent() is that the latter doesn’t mask asterisk characters, which isn’t required anyway.
str_replace() was never necessary in first place since JavaScript supports string replace out of the box.