Skip to content

Commit

Permalink
Land #13052, add hex-noslashes as a uri encode mode
Browse files Browse the repository at this point in the history
  • Loading branch information
smcintyre-r7 committed Mar 10, 2020
2 parents 0b271f3 + 09b1fdd commit 5e1e6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rex/proto/http/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def initialize(host, port = 80, context = {}, ssl = nil, ssl_version = nil, prox

# XXX: This info should all be controlled by ClientRequest
self.config_types = {
'uri_encode_mode' => ['hex-normal', 'hex-all', 'hex-random', 'u-normal', 'u-random', 'u-all'],
'uri_encode_mode' => ['hex-normal', 'hex-all', 'hex-random', 'hex-noslashes', 'u-normal', 'u-random', 'u-all'],
'uri_encode_count' => 'integer',
'uri_full_url' => 'bool',
'pad_method_uri_count' => 'integer',
Expand Down

0 comments on commit 5e1e6e6

Please sign in to comment.