Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shortLinkBaseURL checks (trailingSlack, isValidURL) and test them #125

Merged
merged 4 commits into from
Apr 11, 2023

Conversation

jeffdaley
Copy link
Contributor

@jeffdaley jeffdaley commented Apr 6, 2023

Adds some safeguarding to the ShortLinkBaseURL functions: We now have trailing-slash logic and we confirm the URL is valid before using it.

@jeffdaley jeffdaley changed the title Jeffdaley/fix share button Add shortLinkBaseURL checks (trailingSlack, isValidURL) and test them Apr 6, 2023
@jeffdaley jeffdaley marked this pull request as ready for review April 6, 2023 17:10
@jeffdaley jeffdaley requested a review from a team as a code owner April 6, 2023 17:10
Copy link
Collaborator

@jfreda jfreda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, test cases look good!

@jeffdaley jeffdaley merged commit 1e7f866 into main Apr 11, 2023
@jeffdaley jeffdaley deleted the jeffdaley/fix-share-button branch April 11, 2023 00:40
anuragprafulla pushed a commit to razorpay/hermes that referenced this pull request Jun 27, 2023
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.

2 participants