This is simply the same function than with the search filters, but the characters that need escape changed. It escapes a bit more that is strictly needed (# and space must be escaped only in the beginning and end of the value), but the RFC allows that.
This is simply the same function than with the search filters, but the characters that need escape changed. It escapes a bit more that is strictly needed (# and space must be escaped only in the beginning and end of the value), but the RFC allows that.