Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regex for validating mirror remoteUrl
Motivation: The regex for validating mirror remoteUrl is wrong. `[.-\/]` is interpreted as `.` to `/`. However, it should be `[.\-\/]` which allows `.`, `-` and `/` characters. Modifications: - Fixed regex for validating mirror remoteUrl Result: - You can now correctly setup a mirror url when it contains `-` in its name.
- Loading branch information