Log HTTP Errors #24
Labels
No Label
bug
change
check
Comp::Backend
Comp::Database
Comp::ICCC
Comp::Logging
Comp::Sessions
Comp::System
Comp::Users
enhancement
note
outdated
question
Ready2Test
security
todo
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Go/Ocean#24
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Logging HTTP Errors
Hint from Gustavo Niemeyer:
The error from a #golang http request includes the full URL, including parameters. Exposing the error to users may leak API keys. Source: Twitter.
Solution
I should parse the URL and cut off the parameters. To change this behavior, I should add a configuration parameter: If a developer would like to see the full parameters, he is able to enable this.