I’m facing an issue with URL encoding in an OData query. When I encode spaces in the query, the software seems to be representing them as plus signs (+
) instead of the standard %20
.
Encoded URL (from user input):
$select=ID&$expand=Apps($select=ID,Type;$filter=Target/any(d:(d%20eq%20'PC'))))))))
Parsed URL (result):
$select=ID&$expand=Apps($select=ID,Type;$filter=Target/any(d:(d+eq+'PC'))))))))
Has anyone encountered a similar issue, and if so, how did you address it? Is there a specific setting or configuration that controls the URL encoding behavior in Pact?
I’ve considered aligning the encoding with the standard URL encoding convention (%20
) for compatibility. Any insights or suggestions on resolving this issue would be greatly appreciated!