-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Endpoint] TypeError [ERR_INVALID_URL]: Invalid URL: http:/ #3780
Comments
This is either a bug or unexpected behavior in Joi. I opened hapijs/joi#1994. |
Failing test: t.create('Invalid URL')
.get('.json?url=https:/')
.expectBadge({ label: 'custom badge', message: 'invalid query parameter: url' }) |
It's a bummer that we'll have to finish the v16 upgrade since the fix in |
This should be resolved now that #4031 is complete, right? |
Yep! http://shields-staging.herokuapp.com/badge/dynamic/json?url=https:/&query=. Want to add the test? |
sure, what did you have in mind? a service test with an invalid query param? |
Yea, I meant like the one I pasted in above, which seems to be the same direction you went 😁 |
Sentry Issue: SHIELDS-2Z
The text was updated successfully, but these errors were encountered: