Skip to content

Commit

Permalink
Removed @ as a safe character since many servers don't handle it prop…
Browse files Browse the repository at this point in the history
…erly without percent-encoding

Signed-off-by: Mike Raineri <michael.raineri@dell.com>
  • Loading branch information
mraineri committed Apr 21, 2022
1 parent 6e1fae4 commit b668996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redfish/rest/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def _rest_request(self, path, method='GET', args=None, body=None,
none_list.append(query)
else:
args_copy[query] = args[query]
query_str = urlencode(args_copy, quote_via=quote, safe="/?:@!$'()*+,;\\=")
query_str = urlencode(args_copy, quote_via=quote, safe="/?:!$'()*+,;\\=")
for query in none_list:
if len(query_str) == 0:
query_str += query
Expand Down

0 comments on commit b668996

Please sign in to comment.