Allow values to contain =
Use encodeURIComponent to allow non ascii characters+better encoding