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 PathBase to logged uri. Update to .NET 5 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crystalgreen
Copy link

When hosted in IIS in a root path below the server root, or in a virtual directory, PathBase is set.
This was missing in the log before, showing a wrong uri.
See also stackoverflow.

GitHub Issue: #3

Proposed Changes

What is the current behavior?

See issue #3.

What is the new behavior?

See issue #3.

Checklist

Please check if your PR fulfills the following requirements:

  • Documentation has been added/updated
  • Automated Unit / Integration tests for the changes have been added/updated
  • Contains NO breaking changes
  • Updated the Changelog
  • Associated with an issue

When hosted in IIS in a root path below the server root,
or in a virtual directory, PathBase is set.
This was missing in the log before, showing a wrong uri.
See also https://stackoverflow.com/questions/58614864/whats-the-difference-between-httprequest-path-and-httprequest-pathbase-in-asp-n
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