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

Adds support for Basic Auth in HTTP Endpoint URLs #884

Merged
merged 1 commit into from
Nov 22, 2019

Conversation

pauljohncleary
Copy link
Contributor

Rails Action Mailbox (released in Rails 6.0.0) uses Basic Auth to authenticate requests. Before this commit, Postal will ignore any username or password specified within the URL of an HTTP endpoint.

By applying this commit Postal will additionally check the URL for a username/password and if found add this to the Request headers, thereby allowing users to specify an HTTP endpoint with username/password included in the URL string and allowing Postal to work with Action Mailbox.

Rails Action Mailbox (released in Rails 6.0.0) uses Basic Auth to authenticate requests. Before this commit, Postal will ignore any username or password specified within the URL of an HTTP endpoint. By applying this commit Postal will additionally check the URL for a username/password and if found add this to the Request headers, thereby allowing users to specify an HTTP endpoint with username/password included in the URL string and allowing Postal to work with Action Mailbox.
@adamcooke adamcooke merged commit 10f4808 into postalserver:master Nov 22, 2019
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