ryantxu / ajax-panel

Ajax Panel Plugin for Grafana
MIT License
156 stars 154 forks source link

Provide a way to avoid URL escaping some chars #17

Open emanuelez opened 6 years ago

emanuelez commented 6 years ago

I'm trying to do a Github query search. If I use the URL directly then I can type something like:

https://api.github.com/search/issues?q=state:open

but if I want to use the parameters via Javascript options with something like:

{
   q: "state:open"
}

then the : will be URL escaped making the URL:

https://api.github.com/search/issues?q=state%3Aopen

which does not work.

wangdaners commented 6 years ago

I have the same problem.If my params is Chinese, it will be URL escaped.I hope to support similar encodeURI function.