Escapes characters in |text| which are unsuitable for use as a query
parameter value. Everything except alphanumerics and -_.!~*'() will be
converted to "%XX". If |use_plus| is true (1) spaces will change to "+". The
result is basically the same as encodeURIComponent in Javacript.
Escapes characters in |text| which are unsuitable for use as a query parameter value. Everything except alphanumerics and -_.!~*'() will be converted to "%XX". If |use_plus| is true (1) spaces will change to "+". The result is basically the same as encodeURIComponent in Javacript.