-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat(authentication): improve Validator #141
Conversation
improve Validator, if input contains http or https which function will return error.
add test case
add changelog
fix http prifix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, a couple of remarks
fix lower host
revert function IsUrlHostValid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the changes. Over to @rkodev
Also @XdpCs can you PR this to use the new method once this change is published? https://github.com/microsoft/kiota-authentication-azure-go/blob/61548a84bb5e0d4ae2edaa79416dc218f33ee240/azure_identity_access_token_provider.go#L62 |
It's my pleasure. |
The input contains http or https which function will return an error. #130