pcibraro / hawknet

Hawk protocol implementation for .NET
MIT License
114 stars 35 forks source link

payload hash formatting missing #9

Closed TeigeJDavidson closed 10 years ago

TeigeJDavidson commented 11 years ago

There is no formatting applied to the payload before hashing and thus can be missed by an implementer

string.Format("hawk.1.payload\n{0}\n{1}\n", headerContentType.ToLower(), payload);