contour icon indicating copy to clipboard operation
contour copied to clipboard

fix #6617 and #6659

Open SamMHD opened this issue 5 months ago • 16 comments

closes #6617 and #6659


In order to fix #6617 I have changed how dagRoute.DisableAuth is caclulated.

Also, to fix #6659 I thought it is needed to change behavior when we are upgrading a request to HTTPS (when permitInsecure is not set and we are redirecting HTTP to HTTPS). Thereby, when dagRoute.AuthContext/dagRoute.AuthDisabled is configured it will affect redirection as well -- before these changes, redirection won't care about them.


Changes:

  • use dagRoute's AuthContext and AuthDisabled in HTTPS-Upgrade to fix 6659
  • Use globalExtAuth.AuthPolicy.Disabled to calculate dagRoute.AuthDisabled
  • Fix Tests

SamMHD avatar Sep 08 '24 10:09 SamMHD