OrderOfTheBee/ootbee-support-tools

Avoid double-slashed URLs in log file download

AFaust opened this issue · 0 comments

FEATURE / ENHANCEMENT

This issue is just to track a secondary improvement mentioned in a comment on the PR #138. Currently, URLs for log file downloads can contain double-slashes when constructed from absolute file paths. This has already been proven to be treated differently by some browsers (Chrome on macOS) and does not look like a healthy URL in general. We should fix the URL construction to avoid a double slash in all cases.