DMTF / python-redfish-library

Python3 library for interacting with devices that support a Redfish service
Other
168 stars 181 forks source link

Modified query parameter encoding to not percent-encode characters allowed in query strings per RFC3986 #124

Closed mraineri closed 2 years ago

mraineri commented 2 years ago

From the RFC, the query string follows this definition: *( pchar / "/" / "?" )

pchar is defined as: unreserved / pct-encoded / sub-delims / ":" / "@"

unreserved is defined as: ALPHA / DIGIT / "-" / "." / "_" / "~"

sub-delims is defined as "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="

So, characters like $ (and others used in Redfish) do not need to be percent-encoded per the RFC.