Skip to content

Conversation

@hallvictoria
Copy link
Contributor

return port
# If no valid port found, log a warning
self._logger.warning("Invalid X-Forwarded-Port header value: %s. "
"Using default port 80", part)
Copy link
Contributor

Choose a reason for hiding this comment

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

part is outside of for block

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.

[Bug] 500 error when request header has 'x-forwarded-port' which is not an integer

3 participants