F fix url formatting
Compare changes
Part of https://gitlab.indiscale.com/caosdb/customers/geomar/management/-/issues/302. Use urllib.parse.join
instead of string concatenation for link generation.
Nothing new, just use built-in functions to prevent missing or extra /
and the like.
Run with Geomar server profile, set crawler in profile.yml to this branch, upload some samples and look into the sendmail_to_file
output in /tmp/mail
to verify that the URIs are generated correctly.
Also, new unit test.
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.