Skip to content

Add input validation and whitespace stripping for URL submissions - #112

Open
Ashwath-21 wants to merge 1 commit into
Grow-with-Open-Source:mainfrom
Ashwath-21:QR-Code-Flask-App
Open

Ashwath-21 wants to merge 1 commit into
Grow-with-Open-Source:mainfrom
Ashwath-21:QR-Code-Flask-App

Conversation

@Ashwath-21

Copy link
Copy Markdown

Added .strip() to clean up leading/trailing spaces on URL inputs and implemented an empty-input check (if not url:) to redirect cleanly back to the home page, preventing broken QR code generation on blank or whitespace-only submissions.

@github-actions

Copy link
Copy Markdown

👋 @Ashwath-21
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

@Ashwath-21

Copy link
Copy Markdown
Author

Hey there, this is my first contribution. My workflow is still pending approval. Can any maintainer accept my PR ? I'm looking forward to it. Thank you

This branch has not been deployed

No deployments
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.

1 participant