Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Fix GetCredentialsBy API #54

Merged

Conversation

atsushii
Copy link
Contributor

@atsushii atsushii commented Jul 9, 2022

Addresses #50

What I did

The GetCredentials API does not receive query parameters properly.
Tried @frankhinek suggested method to solve this bug.
And that works!

Also added sanitization to logs to avoid injection attacks, I followed this recommendation method
(https://codeql.github.com/codeql-query-help/go/go-log-injection/)

Copy link
Contributor

@decentralgabe decentralgabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice and effective, thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants