Skip to content

fix: sanitize and validate GitHub username input#112

Open
shagunkillekar5 wants to merge 2 commits into
JhaSourav07:mainfrom
shagunkillekar5:fix-github-username-validation
Open

fix: sanitize and validate GitHub username input#112
shagunkillekar5 wants to merge 2 commits into
JhaSourav07:mainfrom
shagunkillekar5:fix-github-username-validation

Conversation

@shagunkillekar5
Copy link
Copy Markdown

Description

Implemented GitHub username sanitization and validation in the landing page input field.

Changes made

  • Trimmed whitespace from usernames
  • Extracted username automatically from GitHub profile URLs
  • Added validation for invalid GitHub username characters
  • Prevented invalid submissions
  • Added user-friendly error message for invalid usernames

Tested

  • Valid usernames work correctly
  • Invalid usernames show error
  • GitHub URLs are sanitized properly

Fixes #63

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 16, 2026

@shagunkillekar5 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security & UX: Sanitize GitHub username input before submission

1 participant