This project is archived and is in readonly mode.
[Patch] Fixed basic auth with long credentials
Reported by Jan | April 27th, 2009 @ 07:33 PM | in 2.x
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)".
Comments and changes to this ticket
-
Jan May 13th, 2009 @ 04:55 PM
- Tag changed from basic_auth, patch to basic_auth, patch, verified
-
Repository August 9th, 2009 @ 05:25 AM
- State changed from new to resolved
(from [1f6afe4a74bb815a33f41b2d75acd530de6e2eba]) Fix HTTP basic authentication for long credentials [#2572 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com
http://github.com/rails/rails/commit/1f6afe4a74bb815a33f41b2d75acd5... -
Repository August 9th, 2009 @ 05:25 AM
(from [389449d9aef3f32842a2022130e5be552b039124]) Fix HTTP basic authentication for long credentials [#2572 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com
http://github.com/rails/rails/commit/389449d9aef3f32842a2022130e5be...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 2572 [Patch] Fixed basic auth with long credentials (from [1f6afe4a74bb815a33f41b2d75acd530de6e2eba]) Fix HTT...
- 2572 [Patch] Fixed basic auth with long credentials (from [389449d9aef3f32842a2022130e5be552b039124]) Fix HTT...
- 2585 HTTP Basic Authentication Broken with Long Credentials duplicate of #2572