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 validation on API URLs to verify they have trailing slash #462

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

RogerHowellDfE
Copy link
Member

Following a recent headache investigating an issue and a missing trailing slash was found to be the cause.

This validation makes it more visible/clearer where the trailing slash is missing.

It does, however, result in an IIS exception page rather than a "nice" GIAS error page if this is a problem during startup.

Perhaps the solution is to do this validation nearer the actual call to the API? Or accept that this error page might be visible if the configuration is invalid on startup?

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