-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix secure profile with proxy online mode #9183
Conversation
Someone wants to review this ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This, unless I am missing something, can just use io.papermc.paper.configuration.GlobalConfiguration.Proxies#isProxyOnlineMode to avoid this code duplication.
Thanks for the tip, done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be enforceSecureProfile && (onlineMode || proxyOnlineMode)
, right now if the enforce-secure-profile option is disabled in the properties but proxy online mode is used it'll be enforced, or is this intended?
missed that sorry |
please merge your patches by amending your original commit instead of creating a new one |
I don't know how to merge commits after they are already pushed |
Anything else that I can improve, or does someone want to accept/close the PR? |
Has this been properly tested on velocity and bungee/waterfall, especially around stuff like server switches? I'd imagine velocity is fine, not sure about the latter, however |
Yes, I've tested all of them. |
It's not just a value which is passed to the client which is my concern,
there's some internal logic which is backed off that
…On Thu, 11 May 2023, 14:26 NonSwag, ***@***.***> wrote:
Yes, I've tested all of them.
Velocity is working as it should (it just forwards the value the requested
server provides).
BungeeCord works even without that (I guess they just say true all the
time).
Waterfall does (seemingly) not change the behavior of BungeeCord.
I can't see any (negative) effects from that code change on BungeeCord or
Waterfall.
—
Reply to this email directly, view it on GitHub
<#9183 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJMAZHC5LKLZDAOVLCUQ2TXFTSI7ANCNFSM6AAAAAAXWDHWQY>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
what about now ? |
Hello? |
The patch as it is now won't apply since you deleted the first patch that it depended on, you need to undo the deletion of the first patch and then amend the second one into it like mini said. |
This change fixes the problem with the new unverified chat toast if the server is in offline-mode behind an online-mode proxy.