getsentry/sentry — pull request #677 by chroto (2012-12-06 19:20:30+00:00)
Title: Replace string.split with a regex split for carriage returns

`sentry.web.forms.ReplayForm` wasn't building the header dict correctly because it was leaving junk `\r` at the each of each header field. Some web servers will return 400 Bad Request for these requests.

It also should be noted that the spec for HTTP Headers does allow for field values to have carriage return characters if it is followed by a tab or space. That might be something to look into later.