Skip to content

save_code_now/api: Handle origin URL quoted or with character to quote

As django unquotes arguments when parsing URL, we need to requote origin URL provided to the save code now API endpoint or the URL validation is failing otherwise due to invalid character(s) in it.

This is quite an edge case as most forges do not use clone URLs with special characters in it but some can still be found in the wild like https://dev.azure.com/infobipmagentosdkorg/Magento%20Module/_git/infobip-sdk-ecommerce for instance.

Merge request reports