• 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.

          [JENKINS-3883] 403 Forbidden with Meta Redirect

          ecv added a comment -

          I got this error too.
          It would be "nicer" if users didn't have to change their standard settings of Internet Explorer. It took me a lot of googling to find this one.
          My vote...

          ecv added a comment - I got this error too. It would be "nicer" if users didn't have to change their standard settings of Internet Explorer. It took me a lot of googling to find this one. My vote...

          Since I couldn't find the "Friendly Error Messages" option by myself. I needed to look it up. For everyone who doesn't want to look it up, see below for instructions.

          • In Internet Explorer, click the Tools button, and then click Internet Options.
          • Click the Advanced tab, and then scroll down to the Browsing section.
          • Clear the Show friendly HTTP error messages check box, and then click OK.

          peter_schuetze added a comment - Since I couldn't find the "Friendly Error Messages" option by myself. I needed to look it up. For everyone who doesn't want to look it up, see below for instructions. In Internet Explorer, click the Tools button, and then click Internet Options. Click the Advanced tab, and then scroll down to the Browsing section. Clear the Show friendly HTTP error messages check box, and then click OK.

          sogabe added a comment -

          Fixed in 1.392.

          sogabe added a comment - Fixed in 1.392.

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

              Created:
              Updated:
              Resolved: