Skip to content

Conversation

harshavardhana
Copy link
Member

This PR fixes two bugs one is

  • incorrect termination of the HTTP connections
    when the resource URL path is /, since /
    doesn't exist we should never call h.ServeHTTP()
    instead should be directly served from public assets.

  • add SSLHostFunc() such that if the Hostname is empty
    redirection is not empty and this value is handled
    properly when redirecting from 9090 to 9443.

dvaldivia
dvaldivia previously approved these changes Sep 14, 2021
Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

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

Tested. LGTM.

This PR fixes two bugs one is

- incorrect termination of the HTTP connections
  when the resource URL path is `/`, since `/`
  doesn't exist we should never call h.ServeHTTP()
  instead should be directly served from public assets.

- add SSLHostFunc() such that if the Hostname is empty
  redirection is not empty and this value is handled
  properly when redirecting from 9090 to 9443.
@Alevsk Alevsk merged commit 9067e85 into minio:master Sep 14, 2021
@harshavardhana harshavardhana deleted the fix-spa branch September 14, 2021 03:09
@Alevsk
Copy link
Contributor

Alevsk commented Sep 14, 2021

Screen Shot 2021-09-13 at 20 36 14

i think make assets was missed

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