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

Set the HTTPS server variables as lower case since .NET Framework expects this #126

Merged
merged 2 commits into from
Jul 22, 2022

Conversation

ragnarstolsmark
Copy link
Contributor

@ragnarstolsmark ragnarstolsmark commented Jul 22, 2022

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

PR Title
Set the HTTPS server variables as lower case since .NET Framework expects this

PR Description
System.Web.WorkerRequest checks if the HTTPS server variable equals "on" to determine if a request IsSecure. This check is case sensitive. When this check fails the Request.Url is returned without https.
https://referencesource.microsoft.com/#System.Web/Hosting/IIS7WorkerRequest.cs,abb2c5b4bea0c0aa

Addresses #125

System.Web.WorkerRequest checks if the HTTPS server variable equals "on" to determine if a request IsSecure. This check is case sensitive. When this check fails the Request.Url is returned without https.
https://referencesource.microsoft.com/#System.Web/WorkerRequest.cs,620f7ba656959388
@dnfadmin
Copy link

dnfadmin commented Jul 22, 2022

CLA assistant check
All CLA requirements met.

Copy link
Member

@twsouthwick twsouthwick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants