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

Fix get_absolute_static_url calling get_current_scheme without passing the request parameter #346

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

aarranz
Copy link
Member

@aarranz aarranz commented Oct 2, 2018

Current implementation of the get_absolute_static_url is calling get_current_scheme without using the request parameter. This parameter is required to be able to detect if the server is running on http or https if FORCE_PROTO is not used, so this method creates incorrect urls on those cases. This PR fixes this and add unit tests for the get_absolute_static_url method.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 75.08% when pulling 6c6e3a1 on aarranz:fix/get_absolute_static_url into 4b0a884 on Wirecloud:develop.

@aarranz aarranz merged commit ab367d1 into Wirecloud:develop Oct 4, 2018
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