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

Custom URL parameters in WFS sources #1470

Closed
MattiasSp opened this issue Feb 18, 2022 · 1 comment · Fixed by #1477
Closed

Custom URL parameters in WFS sources #1470

MattiasSp opened this issue Feb 18, 2022 · 1 comment · Fixed by #1477
Labels
PR accepted Anyone can write a PR for this issue

Comments

@MattiasSp
Copy link
Contributor

Description
At the moment, it's not possible to att custom URL parameters in source URLs for WFS layers. A question mark is always appended to the source URLs, so adding custom parameters results in double question marks and won't work.

Proposed solution
Only add the question mark for URL parameters if it doesn't already exist, otherwise add a "&" before adding further parameters.

@MattiasSp
Copy link
Contributor Author

PR incoming.

@jokd jokd added the PR accepted Anyone can write a PR for this issue label Mar 2, 2022
@jokd jokd closed this as completed in #1477 Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR accepted Anyone can write a PR for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants