Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Patch] Fixed basic auth with long credentials

#2572

This patch fixes the http_basic_auth with long credentials.

A long username/password results in a (base64 encoded) request header string that contains newlines (\n). When decoding, Rails splitted the header with "split()" and used only the last part of the result. With the patch it splits it in max. two parts "split(' ', 2)".

Reported by Jan · April 27th, 2009 @ 07:33 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none