Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Adding trailing / to a KairosDB datasource URL breaks #3

Closed
bergquist opened this issue Dec 23, 2015 · 1 comment
Closed

Adding trailing / to a KairosDB datasource URL breaks #3

bergquist opened this issue Dec 23, 2015 · 1 comment

Comments

@bergquist
Copy link
Contributor

If you add a URL like:

http://example.com/

As your datasource URL for KairosDB it won't work.

The datasource URL includes two / characters in a row.

This results in a 404.

The 404 doesn't include CORS headers so then you get errors about CORS.

This confused me and I spent like 20 minutes trying to debug CORS issues.

Maybe add a lib so that building URLs doesn't ever generate this type of bug?

from grafana/grafana#2920

@jifwin
Copy link
Contributor

jifwin commented Jan 30, 2017

Fixed.

@jifwin jifwin closed this as completed Jan 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants