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

Ensure urls in proxies #1105

Merged
merged 4 commits into from
May 10, 2021
Merged

Ensure urls in proxies #1105

merged 4 commits into from
May 10, 2021

Conversation

johrstrom
Copy link
Contributor

Fixes #1103 and adds a bunch of test cases for testing proxies.

Comment on lines 41 to 43
if conn.uri == '' then
conn.uri = '/'
end
Copy link
Contributor Author

@johrstrom johrstrom May 5, 2021

Choose a reason for hiding this comment

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

I'm guessing at this point it can never be nil. But looking at it again, should it be

if conn.uri == nil or conn.uri == '' then

@ericfranz ericfranz merged commit c12d1e2 into master May 10, 2021
@ericfranz ericfranz deleted the ensure-urls-in-proxies branch May 10, 2021 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mod_ood_proxy doesn't guarentee URIs are not empty
3 participants