• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • core

      When starting Jenkins in the browser,

      it returns

       

      <html><head><meta http-equiv='refresh' content='1;url=/login?from=%2F'/><script>window.location.replace('/login?from=%2F');</script></head><body style='background-color:white; color:white;'>
      
      Authentication required
      <!--
      -->
      </body></html>
      

       

      Without any offense, I consider this as bad practice.

      The code should be refactored not to use 403 which is an error code and without JS location.replace, but should instead return a 302 and redirect to the login page.

       

          [JENKINS-68264] Opening jenkins UI should not return 403

          There are no comments yet on this issue.

            Unassigned Unassigned
            4braincells Stefan Scheid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: