Skip to content

Conversation

@doc75
Copy link
Contributor

@doc75 doc75 commented Apr 23, 2021

fix #26726.
I checked the test suite, but I cannot see if it has to be modified (I cannot understand where the window.protocol is retrieved from in tests ;-( )
Let me know if anything needs to be modified.

Signed-off-by: Guillaume Virlet <github@virlet.org>
Signed-off-by: Guillaume Virlet <github@virlet.org>
@doc75
Copy link
Contributor Author

doc75 commented Apr 24, 2021

I just updated the js tests to remove the failure. I added one test to ensure the error is not raised when HTTP server return HTTP links. But I commented the existing test as I did not find a way to trick the window.location.protocol during test execution. If you have a way to do this, I'll be more than happy to re-activate previous test and make sure the error is raised when HTTPS server return HTTP links.

@szaimen szaimen added the 3. to review Waiting for reviews label Jul 2, 2021
@szaimen szaimen added this to the Nextcloud 23 milestone Jul 2, 2021
@skjnldsv skjnldsv changed the title [Fix #26726] wrong warning when running HTTP instance Wrong warning when running HTTP instance Jul 6, 2021
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

🙈

@juliusknorr juliusknorr merged commit 49554c6 into nextcloud:master Jul 13, 2021
@juliusknorr
Copy link
Member

/backport to stable22

@juliusknorr
Copy link
Member

/backport to stable21

@juliusknorr
Copy link
Member

/backport to stable20

@backportbot-nextcloud
Copy link

The backport to stable22 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setupcheck return confusing error message on HTTP installation

5 participants