CaptEmulation/clash-of-clans-api

Encoding "#" in tags with encodeURIComponent confuses the api

Closed this issue · 1 comments

Screen Shot 2022-04-16 at 0 29 39

Screen Shot 2022-04-16 at 0 50 27

From what I noticed, the clash api encodes the incoming request urls on its own. So all those encodeURIComponent in the getXXXByTag methods are unnecessary. There's basically a double encoding thing going on here.

Looks like just this playground encodes urls but not the actual api, my bad.