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 Content validation on URL create and Update #112

Merged
merged 2 commits into from
Jul 23, 2020

Conversation

Hedlund01
Copy link
Contributor

The changes checks if the URL parameter is null, empty or only contains white-spaces in UrlUpdate and UrlShortener functions. If it is, then return Bad Request with and explaining error message.

Affected files:

  • UrlUpdate.cs
  • UrlShortener.cs

Issue #48

@FBoucher
Copy link
Collaborator

Sorry @Hedlund01 doing the version and the dependency I forgot this PR.
Could you retarget the vNext branch?

@Hedlund01 Hedlund01 changed the base branch from dev to vnext June 22, 2020 13:16
@Hedlund01
Copy link
Contributor Author

@FBoucher Retargeted to vNext :D

@FBoucher
Copy link
Collaborator

FBoucher commented Jul 2, 2020

@Hedlund01 there is are conflicts.
I thinks you will need to refresh you current version and then update the IF statement to make a double conditions

@FBoucher FBoucher merged commit 2384c1d into microsoft:vnext Jul 23, 2020
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