ajax-panel icon indicating copy to clipboard operation
ajax-panel copied to clipboard

Provide a way to avoid URL escaping some chars

Open emanuelez opened this issue 7 years ago • 1 comments

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.

emanuelez avatar Sep 27 '18 08:09 emanuelez

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

wangdaners avatar Oct 26 '18 08:10 wangdaners