osmlab/ohauth — pull request #5 by tomhughes (2013-04-27 11:23:19+00:00)
Title: Encode parameters correctly when building an OAuth base string

Parameter key and value escaping needs to use the extended algorithm from the OAuth specification, not the standard URI escaping algorithm so we need to escape !, ', *, ( and ) characters.

This was the cause of certain comments on OSM notes showing up as anonymous, because they contained one of the problem characters.