mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-11 20:16:46 +00:00
The GitHub regex in urlIdParse.js incorrectly disallowed repo names with underscores and dots. Fixes #721. To mitigate errors like this in the future, code which uses regexes to find owners and repos has been modified to all depend on the same regex pattern. Test plan: Unit tests have been updated to include the failure case (they correctly failed), and then code was updated so that the tests pass again. Also, I manually verified that loading ipfs/js.ipfs.io no longer fails. Paired with @wchargin