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

dont show trusted proxy warning when the proxy and remote are both localhost #25605

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

icewind1991
Copy link
Member

This is a pretty small edge case, since it requires accessing nextcloud on localhost.

When 127.0.0.1 is setup as a trusted proxy (notify_push wants this as it acts as a proxy for it's auth request) and you're accessing the nextcloud instance from localhost, it triggers the setup warning against insecure trusted proxy setups.

Since localhost should always be trusted, this warning only adds confusion.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Feb 12, 2021
@icewind1991 icewind1991 added this to the Nextcloud 22 milestone Feb 12, 2021
Copy link
Member

@LukasReschke LukasReschke left a comment

Choose a reason for hiding this comment

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

Should be fine. Not a fan of hard-coding stuff but fair :)

@szaimen
Copy link
Contributor

szaimen commented Aug 11, 2021

/backport to stable21

@szaimen
Copy link
Contributor

szaimen commented Aug 11, 2021

/backport to stable20

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.

4 participants