Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Remove duplicate slashes in generated consent URLs #4192

Merged
merged 3 commits into from
Nov 16, 2018

Conversation

turt2live
Copy link
Member

public_baseurl will get a trailing slash when the config is read.

@turt2live turt2live requested a review from a team November 16, 2018 03:43
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

Yep I noticed that. It's a shame we have so many copies of this code and wonder if it should be factored out to the urlbuilder thing.

Lgtm anyway.

@richvdh
Copy link
Member

richvdh commented Nov 16, 2018

Apart from the CI fail

@turt2live
Copy link
Member Author

well, at least the tests caught the change...

Will fix.

By setting the config value directly, we skip the block that adds the slash automatically for us.
@turt2live turt2live merged commit 0bb273d into develop Nov 16, 2018
@turt2live turt2live deleted the travis/fix-consent-urls branch November 16, 2018 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants