Non urlencoded branchname in URL causes 404 in Github

I found a minor bug in the link to GitHub feature.

I have a branch with a hashtag in it: feature/#123. The branchname is not urlencoded in the Drone Link to GitHub.

This creates the following link to GitHub:

https://drone-ci.company.tld/link/Organisationname/reponame/tree/refs/heads/feature/#123

Which redirects to:

https://github.com/Organisationname/reponame/tree/feature/#123

The expected GitHub link is:

https://github.com/Organisationname/reponame/tree/feature/%23123