applicake/doorkeeper — pull request #84 by miyagawa (2012-05-01 23:20:48+00:00)
Title: Duplicate the Authorization: header so that its value won't be modified.

This bug is somewhat brought in per pull request #54. The code originally ignored if the token didn't begin with "Bearer ", so changing the value didn't affect the behavior, but now that the code is stricter about the value, the code should not alter the environment value anyway.