Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#2264): add more robust header validation for inbound server #278

Merged
merged 9 commits into from
Jun 21, 2021

Conversation

kleyow
Copy link
Collaborator

@kleyow kleyow commented Jun 17, 2021

The real solution (:thinking:) is to refactor the inbound server to Hapi and use central-services-shared's header validator...

I'm assuming mojaloop/project#2264 doesn't want that big of a code refactor. So I've ripped the header validator code and inserted it into the Inbound middleware.

lmk if this matches the acceptance criteria @mdebarros

@kleyow kleyow changed the title feat: add more robust header validation for inbound server feat(#2264): add more robust header validation for inbound server Jun 17, 2021
@kleyow kleyow marked this pull request as ready for review June 17, 2021 16:10
@kleyow kleyow requested a review from kirgene as a code owner June 17, 2021 16:10
@kleyow kleyow requested a review from mdebarros June 17, 2021 16:10
Copy link
Member

@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

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

LGTM

@kleyow kleyow merged commit 9ea24d7 into mojaloop:master Jun 21, 2021
@kleyow kleyow deleted the feat/header-validation branch June 21, 2021 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants