Support for custom SSH ports in Git URLs broken when we introduced the regex to match the URLs. The tests were also checking for invalid URLs. Ref: https://stackoverflow.com/questions/5767850/git-on-custom-ssh-port. This PR fixes that validation error, and introduced tests with the correct Git SSH URL with a custom port. [Slack thread](https://theappsmith.slack.com/archives/C0341RERY4R/p1713178681476249?thread_ts=1713175069.330019&cid=C0341RERY4R). /ok-to-test tags="@tag.Git" <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/8704854792> > Commit: 48809d88619fa5d7d170e8f7d71297cccaecb353 > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8704854792&attempt=1" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Enhanced SSH URL parsing and conversion to support more URL formats and custom SSH ports, improving compatibility with browser-supported HTTPS URLs. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| client | ||
| server | ||
| util | ||