When such operators were used in the URL, the cURL parser (commander) assigned < and > as separate arg. This resulted in an Error as we're throwing an error when there were more than 1 args.
Fix
We'll be now also using multiple arguments from parsed cURL and constructing URLs based on allowed operators. Instead of throwing an error, we'll now handle such cURLs gracefully and use the first constructed arg as a URL. This constructed URL will contain allowed operators along with strings that were split by them.
Overview
The current convert API failed to generate requests correctly for certain cURL containing bash operators like
<
and>
. For example, below cURLRCA
When such operators were used in the URL, the cURL parser (commander) assigned
<
and>
as separate arg. This resulted in an Error as we're throwing an error when there were more than 1 args.Fix
We'll be now also using multiple arguments from parsed cURL and constructing URLs based on allowed operators. Instead of throwing an error, we'll now handle such cURLs gracefully and use the first constructed arg as a URL. This constructed URL will contain allowed operators along with strings that were split by them.