airbrake/javabrake

API key is sent in a strange way

Closed this issue · 2 comments

On this line:

https://github.com/airbrake/javabrake/blob/master/src/main/java/OkSender.java#L53

The projectKey is being sent via a header X-Airbrake-Token instead of the "normal" way - with a query parameter:

http://aibrake.io/api/v3/projects/0/notices?key=aaaaaaaaaaa

Why is this? Is this supposed to work?

Yes, it works and it is done that way to hide token from the Apache/nginx/haproxy logs.

I see, thanks for the support!