Angular in the Get method URL with a%, the transfer to the background to get the%25, the extra 25 to make get get failed.
The conversion is in URL encoding (http://www.w3school.com.cn/tags/html_ref_urlencode.html).
First use angular, toss for a half day to find a compromise method to solve.
Get (URL, config), generally we put the constraints into the config, get request will be in the config in the condition and URL splicing, it is this stitching led to some unexpected errors, simply we will be the wrong config directly stitching in the URL. This will not appear as the% becomes%25.
Of course, this is just around the problem, and not really solve, if you have a better solution, also hope to enlighten.
This article is from the "11416117" blog, please be sure to keep this source http://11426117.blog.51cto.com/11416117/1783472
The Get method URL in angular is not transferred correctly