Grafana 5.2.1 url redirection issues

When I click on the url to my site on grafana graph it redirects me to a 404 page not found error and this is because grafana url is concatenated with my site url.

This is a bug related to this new release

Thanks. Please open a bug report with more details.