Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3883

403 Forbidden with Meta Redirect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: Windows XP

      Internet Explorer 7 (and possibly other versions) swallows 403: Forbidden error
      pages less than 256 bytes when "Friendly Error Messages" are turned on. Hudson
      (in HudsonAuthenticationEntryPoint.java) uses a 403/Meta Refresh combination to
      redirect unauthenticated users to the login form. This results in an error page
      instead of a redirect.

      The problem is even more prevalent when fronting Hudson with Apache/mod_deflate,
      as IE considers the downloaded bytes when deciding to eat error pages, not the
      uncompressed bytes.

      Please add > 256 bytes of random garbage to the output from
      HudsonAuthenticationEntryPoint.java to prevent this problem from bothering poor
      Internet Explorer users.

            Unassigned Unassigned
            ssevertson ssevertson
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: