Opening jenkins UI should not return 403

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Trivial
    • Component/s: core
    • Environment:

      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.

       

            Assignee:
            Unassigned
            Reporter:
            Stefan Scheid
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: