Skip to content

Conversation

@marisn
Copy link
Contributor

@marisn marisn commented Jan 15, 2024

This PR adds capability to access password protected WMS sources.

@marisn marisn marked this pull request as draft January 15, 2024 14:45
@marisn
Copy link
Contributor Author

marisn commented Jan 15, 2024

Apparently apr_encode is available only starting from APR 1.7.0. Needs cmake checks.

@tbonfort
Copy link
Member

Apparently apr_encode is available only starting from APR 1.7.0. Needs cmake checks.

could the base64_encode function provided in util.c be used instead of apr_encode ?

@marisn
Copy link
Contributor Author

marisn commented Jan 15, 2024

could the base64_encode function provided in util.c be used instead of apr_encode ?

Yes it can. As I found a function in APR, I even didn't think to grep local source. My bad.

@marisn marisn marked this pull request as ready for review January 15, 2024 17:49
@marisn marisn requested a review from jratike80 January 15, 2024 17:49
@jratike80
Copy link

Sorry, but I am not competent for reviewing the code. I am just a user with some experience on Mapserver.

@marisn
Copy link
Contributor Author

marisn commented Jan 16, 2024

Sorry, but I am not competent for reviewing the code. I am just a user with some experience on Mapserver.

Thanks for valuable feedback anyway. I fixed the typo and checked that your use case should work. Please mark conversation as resolved. No need to approve the PR.

@jmckenna
Copy link
Member

thanks @marisn !

@jmckenna jmckenna merged commit 2f3e0ad into MapServer:main Jan 25, 2024
@marisn marisn deleted the basic_auth branch September 30, 2025 11:26
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.

4 participants