rapid7/metasploit-framework — pull request #791 by wchen-r7 (2012-09-15 23:14:01+00:00)
Title: Add 'encode_params' option for client.rb

Often in HTTP modules, people are forced to to use 'data' instead of 'vars_get' or 'vars_post', because the parameters (especially the names) are URI-encoded, and the application actually may not recognize the names/values. The new 'encode_params' option allows that feature to be disabled completely, so that the developer has more control of how the variables should be crafted (with or without encoding). However, to make sure we're not changing existing HTTP modules' behaviors, 'encode_params' is still true by default (which is the original behavior we've always been using).