Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/utils/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const validFacebookProfileUrlPattern = new RegExp(

export const validGithubProfileUrlPattern = new RegExp(
'^(https?:\\/\\/)' // compulsory protocol
+ '?(?:www.)?github\\.com\\/([a-zA-Z0-9_]+)$'
+ '?(?:www.)?github\\.com\\/([a-zA-Z0-9_]+)([-]?)([a-zA-Z0-9_]+)$'
);

export const validLinkedinProfileUrlPattern = new RegExp(
Expand Down