Index: trunk/extensions/Contest/specials/SpecialMyContests.php |
— | — | @@ -447,10 +447,10 @@ |
448 | 448 | // '@^https://github\.com/[a-zA-Z0-9-]+/[a-zA-Z0-9_-]+/tree/[a-zA-Z0-9]{40}$@i' |
449 | 449 | |
450 | 450 | // Any GitHub URL |
451 | | - '@^https://github\.com/.*$@i', |
| 451 | + '@^https?://github\.com/.*$@i', |
452 | 452 | |
453 | 453 | // Any Gitorious URL |
454 | | - '@^https://(www\.)?gitorious\.org/.*$@i', |
| 454 | + '@^https?://(www\.)?gitorious\.org/.*$@i', |
455 | 455 | ); |
456 | 456 | |
457 | 457 | foreach ( $allowedPatterns as $pattern ) { |